From: Roger Dingledine Date: Tue, 30 Sep 2003 18:47:29 +0000 (+0000) Subject: patch strptime warning -- reduce portability! X-Git-Tag: tor-0.0.2pre13~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7e858d0d1c39933c7cd2ada4cb8b19795782472;p=thirdparty%2Ftor.git patch strptime warning -- reduce portability! svn:r511 --- diff --git a/src/or/routers.c b/src/or/routers.c index dcdfb38803..3367ae6ba3 100644 --- a/src/or/routers.c +++ b/src/or/routers.c @@ -7,6 +7,11 @@ #define OR_SIGNATURE_BEGIN_TAG "-----BEGIN SIGNATURE-----\n" #define OR_SIGNATURE_END_TAG "-----END SIGNATURE-----\n" +#define _GNU_SOURCE +/* XXX this is required on rh7 to make strptime not complain. how bad + * is this for portability? + */ + #include "or.h" /****************************************************************************/