diff options
-rw-r--r-- | infrastructure/m4/boxbackup_tests.m4 | 4 |
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>]]) |