about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/aio_sigqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/aio_sigqueue.c')
-rw-r--r--sysdeps/unix/sysv/linux/aio_sigqueue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aio_sigqueue.c b/sysdeps/unix/sysv/linux/aio_sigqueue.c
index 8d1d5cf321..0500b3fbfa 100644
--- a/sysdeps/unix/sysv/linux/aio_sigqueue.c
+++ b/sysdeps/unix/sysv/linux/aio_sigqueue.c
@@ -26,6 +26,7 @@
 
 #include "aio_misc.h"
 
+#ifdef __NR_rt_sigqueueinfo
 extern int __syscall_rt_sigqueueinfo (int, int, siginfo_t *);
 
 
@@ -47,3 +48,6 @@ __aio_sigqueue (sig, val)
 
   return INLINE_SYSCALL (rt_sigqueueinfo, 3, info.si_pid, sig, &info);
 }
+#else
+# include <sysdeps/generic/aio_sigqueue.c>
+#endif