svn commit: r356301 - head/sys/dev/cfe
Kyle Evans
kevans at FreeBSD.org
Thu Jan 2 22:52:32 UTC 2020
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. */
More information about the svn-src-all
mailing list