aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a8e2c27c1f..05a946d4b3 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 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>