From 1e3919acb126af62dc48fe58816515dfa10e822f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 18 Jan 2015 14:38:53 +0000 Subject: [PATCH] * src/c++11/futex.cc: Fix order of includes and preprocessor condition. From-SVN: r219816 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/src/c++11/futex.cc | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 178da523b96..3c4b9982623 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -4,6 +4,8 @@ atomic int is not lock-free. Make member variables private. * src/c++11/futex.cc: Likewise. + * src/c++11/futex.cc: Fix order of includes and preprocessor condition. + 2015-01-17 Jonathan Wakely PR libstdc++/64638 diff --git a/libstdc++-v3/src/c++11/futex.cc b/libstdc++-v3/src/c++11/futex.cc index f24b44e5a8f..1336779dfb7 100644 --- a/libstdc++-v3/src/c++11/futex.cc +++ b/libstdc++-v3/src/c++11/futex.cc @@ -22,9 +22,8 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // . -#include -#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1 #include +#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1 #include #include #include -- 2.30.2