(STDC_HEADERS): Remove.

Include <stdlib.h>, <string.h> unconditionally.
This commit is contained in:
Jim Meyering 2003-09-10 09:05:16 +00:00
parent 76b378fe2a
commit 820c8fc670

View File

@ -25,10 +25,6 @@
# include <config.h> # include <config.h>
#endif #endif
#ifdef _LIBC
# define STDC_HEADERS 1
#endif
/* Assume that leap seconds are possible, unless told otherwise. /* Assume that leap seconds are possible, unless told otherwise.
If the host has a `zic' command with a `-L leapsecondfilename' option, If the host has a `zic' command with a `-L leapsecondfilename' option,
then it supports leap seconds; otherwise it probably doesn't. */ then it supports leap seconds; otherwise it probably doesn't. */
@ -43,10 +39,8 @@
#if DEBUG #if DEBUG
# include <stdio.h> # include <stdio.h>
# if STDC_HEADERS # include <stdlib.h>
# include <stdlib.h> # include <string.h>
# include <string.h>
# endif
/* Make it work even if the system's libc has its own mktime routine. */ /* Make it work even if the system's libc has its own mktime routine. */
# define mktime my_mktime # define mktime my_mktime
#endif /* DEBUG */ #endif /* DEBUG */
@ -635,6 +629,6 @@ main (int argc, char **argv)
/* /*
Local Variables: Local Variables:
compile-command: "gcc -DDEBUG -DSTDC_HEADERS -Wall -W -O -g mktime.c -o mktime" compile-command: "gcc -DDEBUG -Wall -W -O -g mktime.c -o mktime"
End: End:
*/ */