summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/bits/semaphore.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-11-01 11:55:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-11-01 11:55:57 +0100
commit46406bc7f0a58cb2cfe7973b8c3b587a02beb74f (patch)
tree7e3b4ffc99fe845b5c0ee8c77593f0bf8d1144cc /sysdeps/pthread/bits/semaphore.h
parent3c237122a91c0a782183c63e9c277ab97837b9cf (diff)
parent37d6d0fd80143a25b0d1f2a875e2cce6504d9567 (diff)
Merge branch 'master-glibc' into master-glibc-2.21
Diffstat (limited to 'sysdeps/pthread/bits/semaphore.h')
-rw-r--r--sysdeps/pthread/bits/semaphore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/pthread/bits/semaphore.h b/sysdeps/pthread/bits/semaphore.h
index 5e987c1..4c78409 100644
--- a/sysdeps/pthread/bits/semaphore.h
+++ b/sysdeps/pthread/bits/semaphore.h
@@ -24,7 +24,8 @@
#error Never include <bits/semaphore.h> directly.
#endif
-#include <pthread.h>
+#include <bits/spin-lock.h>
+#include <bits/pthread.h>
/* User visible part of a semaphore. */
struct __semaphore