Loading...
include/time.h Libc-997.90.3 Libc-583
--- Libc/Libc-997.90.3/include/time.h
+++ Libc/Libc-583/include/time.h
@@ -67,10 +67,25 @@
 
 #define __need_struct_timespec
 #include <_structs.h>
-#include <sys/_types/_null.h>
-#include <sys/_types/_clock_t.h>
-#include <sys/_types/_size_t.h>
-#include <sys/_types/_time_t.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
 
 struct tm {
 	int	tm_sec;		/* seconds after the minute [0-60] */