]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing include for pthread_setcancelstate
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 2 Aug 2017 21:07:58 +0000 (23:07 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 2 Aug 2017 22:30:22 +0000 (00:30 +0200)
* sysdeps/posix/shm_open.c: Include <pthread.h>.

ChangeLog
sysdeps/posix/shm_open.c

index a8e2c27c1f757cf37294a9f17bebf700635d9a2e..05a946d4b3cd691f0cb73f3393723de161090f2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
        function.
+       * sysdeps/posix/shm_open.c: Include <pthread.h>.
 
 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
 
index 64315de8f8e2cb35d34a22c9d0d2469dbc93f10c..eeb6cb558901681958fd082dfe3c6c8f1233296b 100644 (file)
@@ -25,6 +25,7 @@
 #else
 
 # include <fcntl.h>
+# include <pthread.h>
 # include <shm-directory.h>