extensive header cleanup for standards conformance & correctness
[musl] / include / bits / wait.h
index ca9b57e..ae3f101 100644 (file)
@@ -6,6 +6,8 @@
 #define WCONTINUED 8
 #define WNOWAIT    0x1000000
 
+#if defined(__XOPEN_SOURCE) || defined(__GNU_SOURCE)
 #define P_ALL  0
 #define P_PID  1
 #define P_PGID 2
+#endif