summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 17:47:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 17:47:50 +0000
commitfc0db8e2da4095df1283d605c88920576fc261d3 (patch)
tree86b49ea3507cf9ea642da39f13fed14e26ed6682 /lib/libpthread
parentd1c654a77a81867c7ce3b0367c67cb31bf817b10 (diff)
machine/limits.h does not contain everything this file wants. It wants
the MI sys/limits.h, and has been getting lucky that all callers had already pulled that in via other means.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/include/semaphore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/include/semaphore.h b/lib/libpthread/include/semaphore.h
index 6e00bf320ee..b706635b94c 100644
--- a/lib/libpthread/include/semaphore.h
+++ b/lib/libpthread/include/semaphore.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: semaphore.h,v 1.6 2012/12/05 23:20:05 deraadt Exp $ */
+/* $OpenBSD: semaphore.h,v 1.7 2013/03/24 17:47:49 deraadt Exp $ */
/* semaphore.h: POSIX 1003.1b semaphores */
@@ -39,7 +39,7 @@
#ifndef _SEMAPHORE_H_
#define _SEMAPHORE_H_
-#include <machine/limits.h>
+#include <sys/limits.h>
/* Opaque type definition. */
struct sem;