aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib503.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib503.c')
-rw-r--r--tests/libtest/lib503.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c
index a6f5d3f2c..c77e084bc 100644
--- a/tests/libtest/lib503.c
+++ b/tests/libtest/lib503.c
@@ -1,5 +1,11 @@
#include "test.h"
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#include <sys/time.h>
+#include <sys/types.h>
+
/*
* Source code in here hugely as reported in bug report 651460 by
* Christopher R. Palmer.