aboutsummaryrefslogtreecommitdiff
path: root/src/iperf.h
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-04-14 13:33:33 -0700
committerBruce A. Mah <bmah@es.net>2014-04-14 13:33:33 -0700
commit40050b7beed952be8f1f71e0e2610946b6f09d54 (patch)
treeaf08b2bc705490dde11f192bfd8a500e47493b23 /src/iperf.h
parent75ee0f4f26e80681be89c99583e11ad15d45ba89 (diff)
downloadiperf3-40050b7beed952be8f1f71e0e2610946b6f09d54.tar.gz
Fix breakage due to iperf.h depending on the autoconf config.h file but
not including it. To fix this required us to change config.h to iperf_config.h (to avoid potential filename collisions with this generic name). Then iperf.h could include this. Adjust the existing header file inclusions to track this, and also canonicalize their inclusion to be at the top of *.c files.
Diffstat (limited to 'src/iperf.h')
-rw-r--r--src/iperf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iperf.h b/src/iperf.h
index 74ff86d..0b4bb4d 100644
--- a/src/iperf.h
+++ b/src/iperf.h
@@ -10,6 +10,8 @@
#ifndef __IPERF_H
#define __IPERF_H
+#include "iperf_config.h"
+
#include <sys/time.h>
#include <sys/types.h>
#include <stdint.h>