diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-22 03:08:26 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-22 03:08:26 +0200 |
commit | 8dbe53c35395c82514475a94a3c7353a9aaf2651 (patch) | |
tree | d98448f387837513842a15b0fb7e54f0f1773746 /sysdeps | |
parent | 46211ef0b82e6db1d62021fadfdd2be8cf78e729 (diff) |
Fix name exposure of including semaphore.h
* sysdeps/pthread/bits/semaphore.h: Include <bits/spinlock.h> and
<bits/pthread.h> instead of the full <pthread.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/pthread/bits/semaphore.h | 3 |
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 |