about summary refs log tree commit diff
path: root/sysvipc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys')
-rw-r--r--sysvipc/sys/shm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index b74a9cb441..7a00a39f67 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -34,6 +34,12 @@
 #define __need_time_t
 #include <time.h>
 
+#ifdef __USE_XOPEN
+# ifndef __pid_t_defined
+typedef __pid_t pid_t;
+#  define __pid_t_defined
+# endif
+#endif	/* X/Open */
 
 __BEGIN_DECLS