Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 22:52:32 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356301 - head/sys/dev/cfe
Message-ID:  <202001022252.002MqWKg028556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Thu Jan  2 22:52:31 2020
New Revision: 356301
URL: https://svnweb.freebsd.org/changeset/base/356301

Log:
  sys/dev/cfi: include sys/types.h as well
  
  This will soon be a dependency for machine/atomic.h on mips with the
  introduction of 64-bit atomics; the scope here is pretty narrow, so throw it
  here in the header just before systm.h, which includes machine/atomic.h

Modified:
  head/sys/dev/cfe/cfe_api.h

Modified: head/sys/dev/cfe/cfe_api.h
==============================================================================
--- head/sys/dev/cfe/cfe_api.h	Thu Jan  2 22:48:08 2020	(r356300)
+++ head/sys/dev/cfe/cfe_api.h	Thu Jan  2 22:52:31 2020	(r356301)
@@ -63,6 +63,7 @@
  * CFE_API_* can be defined here as desired.
  */
 /* Begin customization. */
+#include <sys/types.h>
 #include <sys/stdint.h>		/* All of the typedefs.  */
 #include <sys/systm.h>		/* strlen() prototype.  */
 



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