summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2013-03-12 23:23:01 -0400
committerCarlos O'Donell <carlos@redhat.com>2013-03-12 23:27:24 -0400
commit05087fbb0dadfd38cd4e2743e63a8c5c0ca1de54 (patch)
treecaa912500e5310643d218001282cfe11f83d31ab
parent54206aa6a2729c0bfe10321c6d74c441bef36223 (diff)
downloadglibc-05087fbb0dadfd38cd4e2743e63a8c5c0ca1de54.tar.gz
Include atomic.h in generic lowlevellock.c.
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/lowlevellock.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index eb135896fa..6c1d39de9d 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-12 Carlos O'Donell <carlos@redhat.com>
+
+ * sysdeps/unix/sysv/linux/lowlevellock.c: Include <atomic.h>.
+
2013-03-04 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h:
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
index c33791ac2f..0efb72a56c 100644
--- a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
+++ b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
@@ -21,7 +21,7 @@
#include <sysdep.h>
#include <lowlevellock.h>
#include <sys/time.h>
-
+#include <atomic.h>
void
__lll_lock_wait_private (int *futex)