diff options
author | Julius Werner <jwerner@chromium.org> | 2021-02-12 18:07:21 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-02-18 02:33:04 +0000 |
commit | ea9c96aa9cc41234c99092ed13b536f6cb77ce22 (patch) | |
tree | 4e24163a4cb4e93ecbfcb06da82b818c45756f09 /src/commonlib | |
parent | 10ee7fc03ac38dfabb3190b00db2db66d35f541a (diff) |
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>
Diffstat (limited to 'src/commonlib')
-rw-r--r-- | src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h b/src/commonlib/bsd/include/commonlib/bsd/cbfs_private.h index 9fe740c917..df5014355c 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> |