about summary refs log tree commit diff
path: root/arch/x86_64/bits/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/bits/wait.h')
-rw-r--r--arch/x86_64/bits/wait.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/bits/wait.h b/arch/x86_64/bits/wait.h
index ca9b57e0..ae3f1012 100644
--- a/arch/x86_64/bits/wait.h
+++ b/arch/x86_64/bits/wait.h
@@ -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