aboutsummaryrefslogtreecommitdiff
path: root/signal/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'signal/signal.h')
-rw-r--r--signal/signal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/signal/signal.h b/signal/signal.h
index db8b0b5..4df5603 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -57,10 +57,12 @@ typedef __sigset_t sigset_t;
#include <bits/types.h>
#include <bits/signum.h>
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K
# ifndef __pid_t_defined
typedef __pid_t pid_t;
# define __pid_t_defined
+#endif
+#ifdef __USE_XOPEN
# endif
# ifndef __uid_t_defined
typedef __uid_t uid_t;