summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-31 10:17:18 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-31 10:17:18 +0000
commit9d4b20e48059564bf3061e9672133020544c2759 (patch)
tree7ca649eddf5deec02cfc2336d0df45df2acd807a /sysdeps/pthread/bits
parentc7c777b3d43d490c2012f6b8e6a61c455479fbbc (diff)
parent6348dc004579b2f2580f346b636ec59f40888b15 (diff)
Merge branch 'master' into master-glibc
Diffstat (limited to 'sysdeps/pthread/bits')
-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