Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 08:36:40 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301029 - head/sys/x86/include
Message-ID:  <201605310836.u4V8aebk018713@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 /*



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