git: af147ed09aa4 - stable/12 - sys/dev/cfi: include sys/types.h as well
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Oct 2021 03:28:08 UTC
The branch stable/12 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=af147ed09aa4d346b8526fb40a7016800664d33c
commit af147ed09aa4d346b8526fb40a7016800664d33c
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2020-01-02 22:52:31 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-07 03:27:26 +0000
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
(cherry picked from commit 85ccd84cb3ce35f830cd4c07154152daf41181ef)
---
sys/dev/cfe/cfe_api.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/cfe/cfe_api.h b/sys/dev/cfe/cfe_api.h
index a068f58f11b1..6dd851d19aa0 100644
--- a/sys/dev/cfe/cfe_api.h
+++ b/sys/dev/cfe/cfe_api.h
@@ -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. */