Julius Werner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/50630 )
Change subject: commonlib/bsd: Fix direct inclusion of <endian.h> ......................................................................
commonlib/bsd: Fix direct inclusion of <endian.h>
<endian.h> should never be included directly in commonlib files and should instead be chain-included via <commonlib/bsd/sysincludes.h>.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: Ibc67ea97da36ec58738236ef22f961d9bbaf8574 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50630 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Aaron Durbin adurbin@chromium.org --- M src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h b/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h index 9fe740c9..df50143 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h +++ b/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h @@ -6,7 +6,7 @@
#include <commonlib/bsd/cb_err.h> #include <commonlib/bsd/cbfs_serialized.h> -#include <endian.h> +#include <commonlib/bsd/sysincludes.h> #include <stdbool.h> #include <stdint.h> #include <vb2_sha.h>