diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | time/mktime.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2004-10-22 Paul Eggert <eggert@cs.ucla.edu> + [BZ #468] Import a fix from gnulib. + * time/mktime.c [! DEBUG]: Do not include <string.h>. + It's needed only if DEBUG is nonzero. + [BZ #470] Import fix from gnulib. * time/mktime.c [!_LIBC] (__mktime_internal): Define to mktime_internal, to avoid clashes with any __mktime_internal diff --git a/time/mktime.c b/time/mktime.c index fc46a6a..8f1f51e 100644 --- a/time/mktime.c +++ b/time/mktime.c @@ -37,11 +37,11 @@ #include <time.h> #include <limits.h> -#include <string.h> /* For string function builtin redirect. */ #if DEBUG # include <stdio.h> # include <stdlib.h> +# include <string.h> /* Make it work even if the system's libc has its own mktime routine. */ # define mktime my_mktime #endif /* DEBUG */ |