]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/sem.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / bsd / sys / sem.h
index 35689b2fc7a07ea2e14724f7d225b1776ed60635..4c19918c57e2084d5ae29f230f06d01892162f5c 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <sys/cdefs.h>
 #include <sys/_types.h>
+#include <machine/types.h> /* __int32_t */
 
 /*
  * [XSI]       All of the symbols from <sys/ipc.h> SHALL be defined
  * 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