summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2017-06-18 18:56:08 +0000
committerChris Wilson <chris+github@qwirx.com>2017-06-22 20:28:06 +0100
commit6a04b0abd728da5211e6702b1d42aef95c02d8da (patch)
treebc8ec9cb1f7aa1783b73096f6e4a54c96133cb90 /infrastructure
parentd8422a8b053b62c67e5fe2e861a09d2c792b657a (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.m41
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>]])