summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-10-12 02:00:59 +0000
committerJim Meyering <jim@meyering.net>1998-10-12 02:00:59 +0000
commit761ed79f4d287297505d1bb600f80677de0d23e2 (patch)
tree736b5ca7f75d36d3b96cba23df44b6c3cbdc566c
parentf49ea966c37c0b7e1fa657bfb18537c18f128266 (diff)
downloadcoreutils-761ed79f4d287297505d1bb600f80677de0d23e2.tar.xz
(_REENTRANT): Define again -- linux-2.0.33 needs it.
-rw-r--r--lib/mktime.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/mktime.c b/lib/mktime.c
index b58dac964..702051344 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -28,10 +28,15 @@
# include <config.h>
#endif
-/* Some systems need this in order to declare localtime_r properly. */
+/* Some systems require that one of these symbols be defined in
+ order to declare localtime_r properly. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
+#ifndef _REENTRANT
+# define _REENTRANT 1
+#endif
+
#ifdef _LIBC
# define HAVE_LIMITS_H 1