summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-18 23:05:21 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-18 23:05:21 +0000
commit3953a7243b636883414ae96e1d2986df90a0790e (patch)
tree2257b5e822cf07a92b4fd0815d9790df331a1f84 /src/strftime.c
parent8b60b711f97d66e7421397850f92b6a143c0e520 (diff)
downloademacs-3953a7243b636883414ae96e1d2986df90a0790e.tar.gz
automatically generated from GPLed version
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/strftime.c b/src/strftime.c
index b084851a451..90b21471904 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -22,6 +22,11 @@
# include <config.h>
#endif
+/* Some hosts need this in order to declare localtime_r properly. */
+#ifndef _REENTRANT
+# define _REENTRANT 1
+#endif
+
#ifdef _LIBC
# define HAVE_LIMITS_H 1
# define HAVE_MBLEN 1