* src/c++11/futex.cc: Fix order of includes and preprocessor condition.
authorJonathan Wakely <jwakely@redhat.com>
Sun, 18 Jan 2015 14:38:53 +0000 (14:38 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 18 Jan 2015 14:38:53 +0000 (14:38 +0000)
From-SVN: r219816

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/futex.cc

index 178da523b963590840c7080cb2953909067f43e3..3c4b9982623ebd6888c8312b3b5dbbbe7ec72233 100644 (file)
@@ -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  <jwakely@redhat.com>
 
        PR libstdc++/64638
index f24b44e5a8f01b9115ce66974159fc8f76399fea..1336779dfb73f811cbdaa913f9912289bf41c56f 100644 (file)
@@ -22,9 +22,8 @@
 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 // <http://www.gnu.org/licenses/>.
 
-#include <bits/c++config.h>
-#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
 #include <bits/atomic_futex.h>
+#if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
 #include <chrono>
 #include <climits>
 #include <syscall.h>