aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-09 08:38:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-09 08:38:25 +0000
commit8cbfe5d24aaf35054d9096fae57d5490dcfcef40 (patch)
tree7762570fce7b00b9eb8930322688c4810ea7cde8 /tests
parentbab9f532f2030cf2e94a5366e732b8b51d52791a (diff)
Andrés García-fix to make it build with mingw
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 449efa96f..0d86c87e6 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -48,7 +48,9 @@
/* This define is "almost" required to build on HPUX 11 */
#include <arpa/inet.h>
#endif
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#include "getpart.h"