summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--time/strptime_l.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 363564d947..7db7bdff0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
+
* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
* io/ftw.c: Include sys/param.h unconditionally.
diff --git a/time/strptime_l.c b/time/strptime_l.c
index 8fe623d579..b3a612e03c 100644
--- a/time/strptime_l.c
+++ b/time/strptime_l.c
@@ -28,6 +28,7 @@
#include <stdbool.h>
#ifdef _LIBC
+# define HAVE_LOCALTIME_R 0
# include "../locale/localeinfo.h"
#endif