include signal.h to avoid thorny __sigcontext/sigcontext issues
authorRich Felker <dalias@aerifal.cx>
Thu, 21 Apr 2011 18:21:57 +0000 (14:21 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 21 Apr 2011 18:21:57 +0000 (14:21 -0400)
this is explicitly allowed by POSIX

include/sys/wait.h

index 8e3d72d6c71e37898ff2bdcb58b04e96594c1c88..ae41a48e03caa59c7b4f320a01a19ddfe0a86a3c 100644 (file)
@@ -4,10 +4,10 @@
 extern "C" {
 #endif
 
+#include <signal.h>
+
 #define __NEED_pid_t
 #define __NEED_id_t
-#define __NEED_time_t
-#define __NEED_struct_timeval
 #define __NEED_siginfo_t
 #include <bits/alltypes.h>