aboutsummaryrefslogtreecommitdiff
path: root/src/or/routers.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-30 18:47:29 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-30 18:47:29 +0000
commite7e858d0d1c39933c7cd2ada4cb8b19795782472 (patch)
tree626ac08a114cc8b337b82ab3fdbbfd55d3a7163e /src/or/routers.c
parent013c4e1467c8de01df7a5725629072254ab4c10a (diff)
downloadtor-e7e858d0d1c39933c7cd2ada4cb8b19795782472.tar
tor-e7e858d0d1c39933c7cd2ada4cb8b19795782472.tar.gz
patch strptime warning -- reduce portability!
svn:r511
Diffstat (limited to 'src/or/routers.c')
-rw-r--r--src/or/routers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/routers.c b/src/or/routers.c
index dcdfb3880..3367ae6ba 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"
/****************************************************************************/