aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_tcp.c
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_tcp.c
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_tcp.c')
-rw-r--r--src/iperf_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iperf_tcp.c b/src/iperf_tcp.c
index 2ff1d16..6a16397 100644
--- a/src/iperf_tcp.c
+++ b/src/iperf_tcp.c
@@ -6,6 +6,7 @@
* This code is distributed under a BSD style license, see the LICENSE file
* for complete information.
*/
+#include "iperf_config.h"
#include <stdio.h>
#include <stdlib.h>
@@ -20,7 +21,6 @@
#include <sys/time.h>
#include <sys/select.h>
-#include "config.h"
#include "iperf.h"
#include "iperf_api.h"
#include "iperf_tcp.h"