aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-15 14:47:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-15 14:47:09 +0000
commitdcc2f1641625af4715f05024521d1da2d4d9c671 (patch)
tree4ec10963ccb8212f73cce1c7b0ffa52182647610 /tests
parentc2b8a04000017f497dc74f39fa3f33fd0b3d843c (diff)
Rick Jones' minor thing to build better on HPUX 11
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 0b1865a58..f928b7a47 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -39,6 +39,10 @@
#include <sys/wait.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#ifdef _XOPEN_SOURCE_EXTENDED
+/* This define is "almost" required to build on HPUX 11 */
+#include <arpa/inet.h>
+#endif
#include <netdb.h>
#ifndef FALSE