summaryrefslogtreecommitdiff
path: root/gcc/tsystem.h
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-03-22 00:15:53 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-03-22 00:15:53 +0000
commitcbbf876bb27dbb0029f1976871eb391df93f3f17 (patch)
treee13defe058f91208c3aa103fb0a8832f989ef1a5 /gcc/tsystem.h
parent84fcbe0aef414f9a4e7cf180e4dc258e69ba028e (diff)
downloadgcc-cbbf876bb27dbb0029f1976871eb391df93f3f17.tar.gz
fixproto: Define NULL and size_t in generated stdlib.h and unistd.h.
* fixproto: Define NULL and size_t in generated stdlib.h and unistd.h. Kill unused required_stdlib_h, required_unistd_h. Rearrange file generation loop for readability. Generate time.h, string.h if missing. * tsystem.h: Include <string.h>, <time.h> unconditionally. * config.gcc: Blow away POSIX defines. From-SVN: r64690
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r--gcc/tsystem.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h
index 104c7663751..511d5cf36f9 100644
--- a/gcc/tsystem.h
+++ b/gcc/tsystem.h
@@ -73,20 +73,16 @@ extern int atexit (void (*)(void));
extern int errno;
#endif
-#ifdef POSIX
-#include <string.h>
-#endif
-
/* GCC (fixproto) guarantees these system headers exist. */
+#include <string.h>
#include <stdlib.h>
#include <unistd.h>
/* GCC supplies this header. */
#include <limits.h>
-#ifdef POSIX
+/* GCC (fixproto) guarantees this system headers exists. */
#include <time.h>
-#endif
#endif /* inhibit_libc */