diff options
Diffstat (limited to 'time/strftime.c')
-rw-r--r-- | time/strftime.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/time/strftime.c b/time/strftime.c index 0ebc913..e09d0fd 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -20,6 +20,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 |