* NOTE: The definition of the key_t type is implicit from the
* inclusion of <sys/ipc.h>
*/
-#ifndef _PID_T
-typedef __darwin_pid_t pid_t;
-#define _PID_T
-#endif
-
-#ifndef _TIME_T
-#define _TIME_T
-typedef __darwin_time_t time_t;
-#endif
-
-#ifndef _SIZE_T
-#define _SIZE_T
-typedef __darwin_size_t size_t;
-#endif
+#include <sys/_types/_pid_t.h>
+#include <sys/_types/_time_t.h>
+#include <sys/_types/_size_t.h>
/*
* Technically, we should force all code references to the new structure
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
-/*
- * System imposed limit on the value of the third parameter to semop().
- * This is arbitrary, and the standards unfortunately do not provide a
- * way for user applications to retrieve this value (e.g. via sysconf()
- * or from a manifest value in <unistd.h>). The value shown here is
- * informational, and subject to change in future revisions.
- */
-#define MAX_SOPS 5 /* maximum # of sembuf's per semop call */
-
-
/*
* Union used as the fourth argment to semctl() in all cases. Specific
* member values are used for different values of the third parameter: