X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrftime.c;h=5201a87e26d0637f0707a02ca7cdfab62a450351;hb=0eeff3be000687cfd5aa94daba426c383e2c6950;hp=b084851a451c29119d7b3b35100b57259de81fd7;hpb=1873f591eb7550c78ccd64129edd77fac4e0f84d;p=gnulib.git diff --git a/lib/strftime.c b/lib/strftime.c index b084851a4..5201a87e2 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -22,6 +22,11 @@ # include #endif +/* Some systems 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