svn commit: r301029 - head/sys/x86/include

Ed Schouten ed at FreeBSD.org
Tue May 31 08:36:41 UTC 2016


Author: ed
Date: Tue May 31 08:36:39 2016
New Revision: 301029
URL: https://svnweb.freebsd.org/changeset/base/301029

Log:
  Add missing dependency on <machine/_limits.h>.
  
  This header uses __INT_MIN and __INT_MAX, which is provided by
  <machine/_limits.h>. This is needed to make <stdint.h>'s WCHAR_MIN and
  WCHAR_MAX work without including other headers as well.

Modified:
  head/sys/x86/include/_types.h

Modified: head/sys/x86/include/_types.h
==============================================================================
--- head/sys/x86/include/_types.h	Tue May 31 08:31:34 2016	(r301028)
+++ head/sys/x86/include/_types.h	Tue May 31 08:36:39 2016	(r301029)
@@ -43,6 +43,8 @@
 #error this file needs sys/cdefs.h as a prerequisite
 #endif
 
+#include <machine/_limits.h>
+
 #define __NO_STRICT_ALIGNMENT
 
 /*


More information about the svn-src-all mailing list