diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-26 14:38:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-26 14:38:09 +0000 |
commit | 8bb2f172acc7a164b49a74a42cb8216f3f233fa9 (patch) | |
tree | af3df4113d803aecdaa1a5057f8c55ceaad3fda3 /lib/libpthread | |
parent | 9389eb08c6e2329ff10705d7c13e470468c1e327 (diff) |
needs sys/cdefs.h because a case has been found where it is pulled
independently; spotted by sthen/naddy
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/include/semaphore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/include/semaphore.h b/lib/libpthread/include/semaphore.h index a93b8d4403f..dcdbbd8c4f0 100644 --- a/lib/libpthread/include/semaphore.h +++ b/lib/libpthread/include/semaphore.h @@ -1,4 +1,4 @@ -/* $OpenBSD: semaphore.h,v 1.8 2013/03/24 19:55:45 guenther Exp $ */ +/* $OpenBSD: semaphore.h,v 1.9 2013/03/26 14:38:08 deraadt Exp $ */ /* semaphore.h: POSIX 1003.1b semaphores */ @@ -32,13 +32,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD: semaphore.h,v 1.6 2000/01/20 07:55:42 jasone Exp $ */ #ifndef _SEMAPHORE_H_ #define _SEMAPHORE_H_ +#include <sys/cdefs.h> + /* Opaque type definition. */ struct __sem; typedef struct __sem *sem_t; |