Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2015 16:39:27 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277983 - head/include
Message-ID:  <201501311639.t0VGdR1Q067935@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sat Jan 31 16:39:26 2015
New Revision: 277983
URL: https://svnweb.freebsd.org/changeset/base/277983

Log:
  Ensure #include <semaphore.h> is sufficient for using SEM_VALUE_MAX.
  
  Discussed with:	pluknet

Modified:
  head/include/semaphore.h

Modified: head/include/semaphore.h
==============================================================================
--- head/include/semaphore.h	Sat Jan 31 16:34:39 2015	(r277982)
+++ head/include/semaphore.h	Sat Jan 31 16:39:26 2015	(r277983)
@@ -36,6 +36,8 @@
 #include <sys/_types.h>
 #include <sys/_umtx.h>
 
+#include <machine/_limits.h>
+
 struct _sem {
 	__uint32_t	_magic;
 	struct _usem2	_kern;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501311639.t0VGdR1Q067935>