From 96497bb806e4a3f7105cd1b742c1cd4686780553 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Sun, 7 Apr 2013 16:13:02 -0400 Subject: [PATCH] sem_post.c: Include atomic.h. The sem_post.c file uses atomic functions without including atomic.h. Add `#include ' to the file to prevent any compile time warnings when other headers change and atomic.h isn't implicitly included. --- nptl/ 2013-04-07 Carlos O'Donell * sysdeps/unix/sysv/linux/sem_post.c: Include atomic.h. --- nptl/ChangeLog | 4 ++++ nptl/sysdeps/unix/sysv/linux/sem_post.c | 1 + 2 files changed, 5 insertions(+) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 505f9af..517dfef 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2013-04-07 Carlos O'Donell + + * sysdeps/unix/sysv/linux/sem_post.c: Include atomic.h. + 2013-04-04 Siddhesh Poyarekar [BZ #15337] diff --git a/nptl/sysdeps/unix/sysv/linux/sem_post.c b/nptl/sysdeps/unix/sysv/linux/sem_post.c index 6d3657c..622c7b0 100644 --- a/nptl/sysdeps/unix/sysv/linux/sem_post.c +++ b/nptl/sysdeps/unix/sysv/linux/sem_post.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, see . */ +#include #include #include #include -- 2.7.4