gdb: btrace: fix build errors on older glibc builds
[external/binutils.git] / gdb / gdbserver / configure.ac
index 456a1f7..c167508 100644 (file)
@@ -84,7 +84,7 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
                 errno.h fcntl.h signal.h sys/file.h malloc.h dnl
                 sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
                 netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h dnl
-                linux/perf_event.h)
+                linux/perf_event.h sys/syscall.h)
 AC_CHECK_FUNCS(pread pwrite pread64 readlink fdwalk pipe2)
 AC_REPLACE_FUNCS(vasprintf vsnprintf)