From: Carlos O'Donell Date: Sun, 7 Apr 2013 20:13:02 +0000 (-0400) Subject: sem_post.c: Include atomic.h. X-Git-Tag: glibc-2.18~419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96497bb806e4a3f7105cd1b742c1cd4686780553;p=thirdparty%2Fglibc.git 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. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 505f9af38cd..517dfeffb1f 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 6d3657c36ab..622c7b0b0c3 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