From e7e858d0d1c39933c7cd2ada4cb8b19795782472 Mon Sep 17 00:00:00 2001
From: Roger Dingledine <arma@torproject.org>
Date: Tue, 30 Sep 2003 18:47:29 +0000
Subject: [PATCH] patch strptime warning -- reduce portability!

svn:r511
---
 src/or/routers.c | 5 +++++
 1 file changed, 5 insertions(+)

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"
 
 /****************************************************************************/
-- 
GitLab