aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iperf_api.h')
-rw-r--r--src/iperf_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iperf_api.h b/src/iperf_api.h
index 63228d9..a51b773 100644
--- a/src/iperf_api.h
+++ b/src/iperf_api.h
@@ -45,7 +45,9 @@ struct iperf_interval_results;
struct iperf_stream;
struct iperf_time;
+#if !defined(__IPERF_H)
typedef uint64_t iperf_size_t;
+#endif // __IPERF_H
/* default settings */
#define Ptcp SOCK_STREAM