From 8bb2f172acc7a164b49a74a42cb8216f3f233fa9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 26 Mar 2013 14:38:09 +0000 Subject: needs sys/cdefs.h because a case has been found where it is pulled independently; spotted by sthen/naddy --- lib/libpthread/include/semaphore.h | 6 +++--- 1 file 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 + /* Opaque type definition. */ struct __sem; typedef struct __sem *sem_t; -- cgit v1.2.3