summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2017-12-05 11:34:58 -0600
committerDaniel Stenberg <daniel@haxx.se>2017-12-06 00:20:21 +0100
commit24dcd746675b753356c07d4e315959857ab1df00 (patch)
tree1f6d45f7a941351138997fb8059ec80ff3728e50 /tests
parent76ebd54175bad02b29769d797adf72fdf3df119f (diff)
downloadcurl-24dcd746675b753356c07d4e315959857ab1df00.tar.gz
tests: added netinet/in6.h includes in test servers
Diffstat (limited to 'tests')
-rw-r--r--tests/server/rtspd.c3
-rw-r--r--tests/server/sockfilt.c3
-rw-r--r--tests/server/sws.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c
index 53ffeb6e1..8e61a43f3 100644
--- a/tests/server/rtspd.c
+++ b/tests/server/rtspd.c
@@ -33,6 +33,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index f13ef208d..ceb04d8e8 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -89,6 +89,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 821497068..1d47375ad 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -34,6 +34,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif