Add missing include for pthread_setcancelstate

* sysdeps/posix/shm_open.c: Include <pthread.h>.
This commit is contained in:
Samuel Thibault 2017-08-02 23:07:58 +02:00
parent 8ee1abdb4b
commit 3da5756ee8
2 changed files with 2 additions and 0 deletions

View File

@ -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>

View File

@ -25,6 +25,7 @@
#else
# include <fcntl.h>
# include <pthread.h>
# include <shm-directory.h>