diff options
author | 2013-03-24 17:47:49 +0000 | |
---|---|---|
committer | 2013-03-24 17:47:49 +0000 | |
commit | 6cf34638332930c66b70c5846248c8d1a8d213b3 (patch) | |
tree | b9c1af93e80f1686ce3b5f0ed12da1e421e0ab98 /lib/libpthread | |
parent | I can see no reason for #ifndef _KERNEL check in a /usr/include (diff) | |
download | wireguard-openbsd-6cf34638332930c66b70c5846248c8d1a8d213b3.tar.xz wireguard-openbsd-6cf34638332930c66b70c5846248c8d1a8d213b3.zip |
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.h | 4 |
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; |