X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmktime.c;h=3dab58ad813fa1645500f938e872b28b7e9b0ad1;hb=b3b353659ac863c94e9705047710a99fa58fe0b1;hp=5a17eecc60f7f5c24158ea5c0e2bc6679d07b44e;hpb=7b224479dcac36108cbf435aff9b45767143ed25;p=gnulib.git diff --git a/lib/mktime.c b/lib/mktime.c index 5a17eecc6..3dab58ad8 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 */ @@ -625,6 +619,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: */