summaryrefslogtreecommitdiff
path: root/posix/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys/wait.h')
-rw-r--r--posix/sys/wait.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h
index 2ba604de6b..aba0493b0b 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -29,9 +29,9 @@ __BEGIN_DECLS
#include <bits/types.h>
-#if defined __USE_XOPEN && !defined pid_t
+#if defined __USE_XOPEN && !defined __pid_t_defined
typedef __pid_t pid_t;
-# define pid_t pid_t
+# define __pid_t_defined
#endif
/* This will define the `W*' macros for the flag