]> git.saurik.com Git - apple/libc.git/blobdiff - include/time.h
Libc-997.1.1.tar.gz
[apple/libc.git] / include / time.h
index 2914d40bc451cf92678514a26953ed75b1d4a01f..d233d218ce13710710c729df94d76639e0906300 100644 (file)
 
 #define __need_struct_timespec
 #include <_structs.h>
-
-#ifndef NULL
-#define NULL __DARWIN_NULL
-#endif /* ! NULL */
-
-#ifndef        _CLOCK_T
-#define _CLOCK_T
-typedef        __darwin_clock_t        clock_t;
-#endif
-
-#ifndef        _SIZE_T
-#define        _SIZE_T
-typedef        __darwin_size_t         size_t;
-#endif
-
-#ifndef        _TIME_T
-#define        _TIME_T
-typedef        __darwin_time_t         time_t;
-#endif
+#include <sys/_types/_null.h>
+#include <sys/_types/_clock_t.h>
+#include <sys/_types/_size_t.h>
+#include <sys/_types/_time_t.h>
 
 struct tm {
        int     tm_sec;         /* seconds after the minute [0-60] */