diff options
author | 2013-03-26 14:38:08 +0000 | |
---|---|---|
committer | 2013-03-26 14:38:08 +0000 | |
commit | 39274e3d541e5cc094d1f2b48b7c160cf3b131ea (patch) | |
tree | 9c87db6204ef0ea4f2276d0021b68813fd4f4d25 /lib/libpthread/include/semaphore.h | |
parent | - increase MINIROOTSIZE so a ramdisk can fit. (diff) | |
download | wireguard-openbsd-39274e3d541e5cc094d1f2b48b7c160cf3b131ea.tar.xz wireguard-openbsd-39274e3d541e5cc094d1f2b48b7c160cf3b131ea.zip |
needs sys/cdefs.h because a case has been found where it is pulled
independently; spotted by sthen/naddy
Diffstat (limited to 'lib/libpthread/include/semaphore.h')
-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; |