summaryrefslogtreecommitdiff
path: root/src/mktime.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
commit6beba8e0b2f1a3100f5c2bdfc4912401f542fc02 (patch)
treefc86140f592952a691654860cd0ba1caa6cca2e2 /src/mktime.c
parent9cf081fa5cbfae43320c1e2fdfa9f4c6b13dfe59 (diff)
downloademacs-6beba8e0b2f1a3100f5c2bdfc4912401f542fc02.tar.gz
automatically generated from GPLed version
Diffstat (limited to 'src/mktime.c')
-rw-r--r--src/mktime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mktime.c b/src/mktime.c
index f759c29bb96..a6e2756aebe 100644
--- a/src/mktime.c
+++ b/src/mktime.c
@@ -27,6 +27,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_LOCALTIME_R 1