aboutsummaryrefslogtreecommitdiff
path: root/src/or/routers.c
diff options
context:
space:
mode:
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"
/****************************************************************************/