This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] lowlevellock.c: Include <atomic.h>.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 12 Mar 2013 23:27:08 -0400
- Subject: [COMMITTED] lowlevellock.c: Include <atomic.h>.
Committed as obvious. If you use atomic functions
you must include atomic.h.
nptl/
2013-03-12 Carlos O'Donell <carlos@redhat.com>
* sysdeps/unix/sysv/linux/lowlevellock.c: Include <atomic.h>.
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
index c33791a..0efb72a 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)
~~~
Cheers,
Carlos.