]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
patch strptime warning -- reduce portability!
authorRoger Dingledine <arma@torproject.org>
Tue, 30 Sep 2003 18:47:29 +0000 (18:47 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 30 Sep 2003 18:47:29 +0000 (18:47 +0000)
svn:r511

src/or/routers.c

index dcdfb388030ff1ae57fe313d0a1fcf46a2d54b94..3367ae6ba36c67de9c58b2b2f6f618f3d8a93892 100644 (file)
@@ -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"
 
 /****************************************************************************/