mktime: merge HAVE_CONFIG_H change from gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 May 2012 13:05:37 +0000 (06:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2012 13:05:37 +0000 (06:05 -0700)
ChangeLog
time/mktime.c

index 200c726..ad865fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       mktime: merge HAVE_CONFIG_H change from gnulib
+       * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
+
 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
index 683d468..0e5fde0 100644 (file)
@@ -21,7 +21,7 @@
    mktime.  */
 /* #define DEBUG 1 */
 
-#ifdef HAVE_CONFIG_H
+#ifndef _LIBC
 # include <config.h>
 #endif