libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / network / ntp / patches / 20-syscall.patch
blobdaceaf2dfcca61681e1732bbb0e472c62c7b2fb4
1 https://bugs.ntp.org/show_bug.cgi?id=3942
3 --- configure.ac.orig
4 +++ configure.ac
5 @@ -300,6 +300,7 @@
6 AC_HEADER_STDBOOL
7 AC_CHECK_HEADERS([stdlib.h string.h termio.h])
8 AC_CHECK_HEADERS([termios.h timepps.h timex.h unistd.h])
9 +AC_CHECK_HEADERS([sys/syscall.h])
11 case "$host" in
12 *-*-aix*)
13 @@ -1102,6 +1103,9 @@
14 #ifdef HAVE_UNISTD_H
15 # include <unistd.h>
16 #endif
17 + #ifdef HAVE_SYS_SYSCALL_H
18 + # include <sys/syscall.h>
19 + #endif
20 ]],
22 extern int syscall (int, ...);