Define pid_t for XPG.
authordrepper <drepper>
Mon, 14 Aug 2000 04:50:53 +0000 (04:50 +0000)
committerdrepper <drepper>
Mon, 14 Aug 2000 04:50:53 +0000 (04:50 +0000)
sysvipc/sys/shm.h

index b74a9cb..7a00a39 100644 (file)
 #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