aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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"