From: Nick Mathewson Date: Thu, 22 Jan 2015 19:18:10 +0000 (-0500) Subject: Move a redundant _GNU_SOURCE to where it is not redundant X-Git-Tag: tor-0.2.6.3-alpha~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb9979eb8b4db7a32d311a9a7323a681b68ee14;p=thirdparty%2Ftor.git Move a redundant _GNU_SOURCE to where it is not redundant --- 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 #include diff --git a/src/common/compat_threads.c b/src/common/compat_threads.c index 3b79292cdb..ba21c951fa 100644 --- a/src/common/compat_threads.c +++ b/src/common/compat_threads.c @@ -6,7 +6,6 @@ #define _GNU_SOURCE #include "orconfig.h" -#define _GNU_SOURCE #include #include "compat.h" #include "compat_threads.h"