svn commit: r277983 - head/include

Jilles Tjoelker jilles at FreeBSD.org
Sat Jan 31 16:39:27 UTC 2015


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;


More information about the svn-src-all mailing list