ntdll: Add a define for SYS_sigaction to __NR_sigaction.
Print an error if __NR_sigaction doesn't exist as this means the wrong
syscall header is being used.
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 46f9fa6..bfc9c45 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -103,6 +103,13 @@
     void *ksa_restorer;
 };
 
+#ifndef SYS_sigaction
+# ifndef __NR_sigaction
+#  error The sigaction syscall is part of the Linux i386 ABI, but your headers don't define it. Please raise a bug with your distribution.
+# endif
+# define SYS_sigaction __NR_sigaction
+#endif
+
 /* Similar to the sigaction function in libc, except it leaves alone the
    restorer field, which is used to specify the signal stack address */
 static inline int wine_sigaction( int sig, struct kernel_sigaction *new,