diff options
author | Chris Wilson <chris+github@qwirx.com> | 2017-06-18 18:56:08 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2017-06-22 20:28:06 +0100 |
commit | 6a04b0abd728da5211e6702b1d42aef95c02d8da (patch) | |
tree | bc8ec9cb1f7aa1783b73096f6e4a54c96133cb90 /infrastructure | |
parent | d8422a8b053b62c67e5fe2e861a09d2c792b657a (diff) |
Fix intercept of SYS_open on platforms that only have SYS_openat (e.g. arm64)
Diffstat (limited to 'infrastructure')
-rw-r--r-- | infrastructure/m4/boxbackup_tests.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4 index 849ffd7a..7410159a 100644 --- a/infrastructure/m4/boxbackup_tests.m4 +++ b/infrastructure/m4/boxbackup_tests.m4 @@ -224,6 +224,7 @@ AC_CHECK_DECLS([INFTIM],,, [[#include <poll.h>]]) AC_CHECK_DECLS([SO_PEERCRED],,, [[#include <sys/socket.h>]]) AC_CHECK_DECLS([SOL_TCP],,, [[#include <netinet/tcp.h>]]) AC_CHECK_DECLS([TCP_INFO],,, [[#include <netinet/tcp.h>]]) +AC_CHECK_DECLS([SYS_open, SYS_openat],,, [[#include <sys/syscall.h>]]) if test -n "$have_sys_socket_h"; then AC_CHECK_DECLS([SO_SNDBUF],,, [[#include <sys/socket.h>]]) |