diff options
Diffstat (limited to 'src/strftime.c')
| -rw-r--r-- | src/strftime.c | 5 |
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 @@ | |||
| 22 | # include <config.h> | 22 | # include <config.h> |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | /* Some hosts need this in order to declare localtime_r properly. */ | ||
| 26 | #ifndef _REENTRANT | ||
| 27 | # define _REENTRANT 1 | ||
| 28 | #endif | ||
| 29 | |||
| 25 | #ifdef _LIBC | 30 | #ifdef _LIBC |
| 26 | # define HAVE_LIMITS_H 1 | 31 | # define HAVE_LIMITS_H 1 |
| 27 | # define HAVE_MBLEN 1 | 32 | # define HAVE_MBLEN 1 |