From: Jim Meyering Date: Wed, 10 Sep 2003 09:05:16 +0000 (+0000) Subject: (STDC_HEADERS): Remove. X-Git-Tag: v5.1.0~745 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820c8fc670f9e88b3b2aab8a0d709d1fac09d1b1;p=thirdparty%2Fcoreutils.git (STDC_HEADERS): Remove. Include , unconditionally. --- diff --git a/lib/mktime.c b/lib/mktime.c index 02acc52067..00b834b055 100644 --- a/lib/mktime.c +++ b/lib/mktime.c @@ -25,10 +25,6 @@ # include #endif -#ifdef _LIBC -# define STDC_HEADERS 1 -#endif - /* Assume that leap seconds are possible, unless told otherwise. If the host has a `zic' command with a `-L leapsecondfilename' option, then it supports leap seconds; otherwise it probably doesn't. */ @@ -43,10 +39,8 @@ #if DEBUG # include -# if STDC_HEADERS -# include -# include -# endif +# include +# include /* Make it work even if the system's libc has its own mktime routine. */ # define mktime my_mktime #endif /* DEBUG */ @@ -635,6 +629,6 @@ main (int argc, char **argv) /* 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: */