diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-12-06 16:06:43 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-12-06 16:06:43 +0000 |
commit | fd094e4e2402db5e031ec4a79f8c624420aa720d (patch) | |
tree | fc400e9b130f321dd092efe9bce15718fd6323f6 /infrastructure | |
parent | b34a78330324898e2b399430322b4c593bb61107 (diff) |
Fix missing include of sys/socket.h to find struct ucred on Linux.
Diffstat (limited to 'infrastructure')
-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>]]) |