summaryrefslogtreecommitdiff
path: root/gcc/tsystem.h
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-22 00:15:53 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-22 00:15:53 +0000
commitb1cc82fee9286dc102041a506323b53d2a5165b0 (patch)
treee13defe058f91208c3aa103fb0a8832f989ef1a5 /gcc/tsystem.h
parent84e39e0e1a2244f48f7a57d6cc9452d91ceeec6a (diff)
downloadgcc-b1cc82fee9286dc102041a506323b53d2a5165b0.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64690 138bc75d-0d04-0410-961f-82ee72b054a4
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 */