[PATCH] Add missing include for pthread_setcancelstate

Samuel Thibault samuel.thibault@ens-lyon.org
Wed Aug 2 21:08:00 GMT 2017


* sysdeps/posix/shm_open.c: Include <pthread.h>.

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>
 



More information about the Libc-alpha mailing list