From 6beba8e0b2f1a3100f5c2bdfc4912401f542fc02 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Nov 1997 23:05:21 +0000 Subject: [PATCH] automatically generated from GPLed version --- src/mktime.c | 5 +++++ src/strftime.c | 5 +++++ 2 files changed, 10 insertions(+) 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 #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 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 #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 -- 2.39.2