aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-02 23:07:58 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 00:30:22 +0200
commit3da5756ee851c40cb7d4469f4e0ed9ff361977ad (patch)
tree9914cb1132fec2027d032f4b005a37569514735b
parent8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332 (diff)
downloadglibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.zip
glibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.tar.gz
glibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.tar.bz2
Add missing include for pthread_setcancelstate
* sysdeps/posix/shm_open.c: Include <pthread.h>.
-rw-r--r--ChangeLog1
-rw-r--r--sysdeps/posix/shm_open.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8e2c27..05a946d 100644
--- 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>
diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c
index 64315de..eeb6cb5 100644
--- a/sysdeps/posix/shm_open.c
+++ b/sysdeps/posix/shm_open.c
@@ -25,6 +25,7 @@
#else
# include <fcntl.h>
+# include <pthread.h>
# include <shm-directory.h>