aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_pthreads.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-22 14:18:10 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-22 14:18:10 -0500
commit1fb9979eb8b4db7a32d311a9a7323a681b68ee14 (patch)
tree39195cf66f7aee4ef1d595cc4658c10ec61ec9d5 /src/common/compat_pthreads.c
parent38b3f9a619a7e34cb0fe778235afb91953c84fe7 (diff)
downloadtor-1fb9979eb8b4db7a32d311a9a7323a681b68ee14.tar.gz
tor-1fb9979eb8b4db7a32d311a9a7323a681b68ee14.zip
Move a redundant _GNU_SOURCE to where it is not redundant
Diffstat (limited to 'src/common/compat_pthreads.c')
-rw-r--r--src/common/compat_pthreads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat_pthreads.c b/src/common/compat_pthreads.c
index e1d4b0e79b..f4a6cad154 100644
--- a/src/common/compat_pthreads.c
+++ b/src/common/compat_pthreads.c
@@ -3,6 +3,8 @@
* Copyright (c) 2007-2015, The Tor Project, Inc. */
/* See LICENSE for licensing information */
+#define _GNU_SOURCE
+
#include "orconfig.h"
#include <pthread.h>
#include <signal.h>