summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++/guard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/libsupc++/guard.cc')
-rw-r--r--libstdc++-v3/libsupc++/guard.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/guard.cc b/libstdc++-v3/libsupc++/guard.cc
index 9b617998ff..19953bc52f 100644
--- a/libstdc++-v3/libsupc++/guard.cc
+++ b/libstdc++-v3/libsupc++/guard.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2002-2016 Free Software Foundation, Inc.
+// Copyright (C) 2002-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -30,6 +30,7 @@
#include <new>
#include <ext/atomicity.h>
#include <ext/concurrence.h>
+#include <bits/atomic_lockfree_defines.h>
#if defined(__GTHREADS) && defined(__GTHREAD_HAS_COND) \
&& (ATOMIC_INT_LOCK_FREE > 1) && defined(_GLIBCXX_HAVE_LINUX_FUTEX)
# include <climits>