瀏覽代碼

include signal.h to avoid thorny __sigcontext/sigcontext issues

this is explicitly allowed by POSIX
Rich Felker 14 年之前
父節點
當前提交
f492c95401
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/sys/wait.h

+ 2 - 2
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>