Linux defines NGREG in <sys/ucontext.h>, which <signal.h> may not get.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 30 Sep 2013 18:43:29 +0000 (18:43 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 30 Sep 2013 18:43:29 +0000 (18:43 +0000)
src/microcode/uxtrap.h

index d2e5c00d00c12218f03daa34a59a1759c51eb35e..8e8f53ac55060a25f4bbcec4e82bd90180015653 100644 (file)
@@ -530,6 +530,8 @@ struct full_sigcontext
 \f
 #ifdef __linux__
 
+#  include <sys/ucontext.h>
+
 /* This isn't really the right test: what we really want to know is if
    the kernel supports the newer signal-delivery mechanism.  */