about summary refs log tree commit diff
path: root/sysdeps/posix
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 /sysdeps/posix
parent8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332 (diff)
downloadglibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.tar.gz
glibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.tar.xz
glibc-3da5756ee851c40cb7d4469f4e0ed9ff361977ad.zip
Add missing include for pthread_setcancelstate
* sysdeps/posix/shm_open.c: Include <pthread.h>.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/shm_open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c
index 64315de8f8..eeb6cb5589 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>