summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-21 14:21:57 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-21 14:21:57 -0400
commitf492c95401b3a6fedb3973631496ee329447b25e (patch)
treea70827c83a00a77c1121adb9fa0d9ec47fd7078d
parent870cc679771f776333953b2a990a107393d9d0fd (diff)
downloadmusl-f492c95401b3a6fedb3973631496ee329447b25e.tar.gz
include signal.h to avoid thorny __sigcontext/sigcontext issues
this is explicitly allowed by POSIX
-rw-r--r--include/sys/wait.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/wait.h b/include/sys/wait.h
index 8e3d72d6..ae41a48e 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -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>