]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/msg.h
xnu-2422.1.72.tar.gz
[apple/xnu.git] / bsd / sys / msg.h
index 9d856a98414e531da4fd46c7b48c24e3fe980b78..6f530fa66a75eb04fb3947711585dabe42b88b0b 100644 (file)
  * 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
-
-#ifndef        _SSIZE_T
-#define        _SSIZE_T
-typedef        __darwin_ssize_t        ssize_t;
-#endif
+#include <sys/_types/_pid_t.h>
+#include <sys/_types/_time_t.h>
+#include <sys/_types/_size_t.h>
+#include <sys/_types/_ssize_t.h>
 
 /* [XSI] Used for the number of messages in the message queue */
 typedef unsigned long          msgqnum_t;