Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 03:28:08 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: af147ed09aa4 - stable/12 - sys/dev/cfi: include sys/types.h as well
Message-ID:  <202110070328.1973S8ii060706@gitrepo.freebsd.org>

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



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