diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 08:38:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 08:38:25 +0000 |
commit | 8cbfe5d24aaf35054d9096fae57d5490dcfcef40 (patch) | |
tree | 7762570fce7b00b9eb8930322688c4810ea7cde8 /tests | |
parent | bab9f532f2030cf2e94a5366e732b8b51d52791a (diff) |
Andrés García-fix to make it build with mingw
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sws.c | 2 |
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" |