aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-05-22 06:05:37 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-22 06:05:37 -0700
commit95770f140bf0c9ecb8ee3a9c00de5248e7e5cc61 (patch)
tree42c25f1862b60ab2e1a5072a6bf1a715f4c180fc
parent0e44a77e481e18b56ef5bd2354fc97a267487551 (diff)
downloadglibc-95770f140bf0c9ecb8ee3a9c00de5248e7e5cc61.zip
glibc-95770f140bf0c9ecb8ee3a9c00de5248e7e5cc61.tar.gz
glibc-95770f140bf0c9ecb8ee3a9c00de5248e7e5cc61.tar.bz2
mktime: merge HAVE_CONFIG_H change from gnulib
-rw-r--r--ChangeLog5
-rw-r--r--time/mktime.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 200c726..ad865fd 100644
--- 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):
diff --git a/time/mktime.c b/time/mktime.c
index 683d468..0e5fde0 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -21,7 +21,7 @@
mktime. */
/* #define DEBUG 1 */
-#ifdef HAVE_CONFIG_H
+#ifndef _LIBC
# include <config.h>
#endif