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.  */
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to