This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 01/17] mktime: merge HAVE_CONFIG_H change from gnulib
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Mar 2012 03:30:45 -0700
- Subject: [PATCH 01/17] mktime: merge HAVE_CONFIG_H change from gnulib
* time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
---
ChangeLog | 5 +++++
time/mktime.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3ad8764..78290d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-16 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-03-15 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
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
--
1.7.6.5