summaryrefslogtreecommitdiff
path: root/infrastructure/m4/boxbackup_tests.m4
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/m4/boxbackup_tests.m4')
-rw-r--r--infrastructure/m4/boxbackup_tests.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4
index 2e5d2aa5..0f46a78c 100644
--- a/infrastructure/m4/boxbackup_tests.m4
+++ b/infrastructure/m4/boxbackup_tests.m4
@@ -235,6 +235,10 @@ AC_CHECK_MEMBERS([struct ucred.uid, struct ucred.cr_uid],,,
#ifdef HAVE_SYS_UCRED_H
# include <sys/ucred.h>
#endif
+
+ #ifdef HAVE_SYS_SOCKET_H
+ # include <sys/socket.h>
+ #endif
]])
AC_CHECK_DECLS([optreset],,, [[#include <getopt.h>]])