aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib504.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib504.c')
-rw-r--r--tests/libtest/lib504.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c
index f6a066570..d340c509c 100644
--- a/tests/libtest/lib504.c
+++ b/tests/libtest/lib504.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 651464 by
* Christopher R. Palmer.