Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/time.h')
-rw-r--r--newlib/libc/include/time.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index 306bad619..c760297f9 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -10,9 +10,9 @@
#include "_ansi.h"
#include <sys/reent.h>
-#ifndef NULL
-#define NULL 0
-#endif
+#define __need_size_t
+#define __need_NULL
+#include <stddef.h>
/* Get _CLOCKS_PER_SEC_ */
#include <machine/time.h>
@@ -23,8 +23,6 @@
#define CLOCKS_PER_SEC _CLOCKS_PER_SEC_
#define CLK_TCK CLOCKS_PER_SEC
-#define __need_size_t
-#include <stddef.h>
#include <sys/types.h>