summaryrefslogtreecommitdiff
path: root/src/commonlib/bsd/lz4_wrapper.c
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2020-09-11 22:32:51 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-09-14 07:10:53 +0000
commit3c5b803bdb512190235fe098d133e773f905dbd5 (patch)
tree939e062a25c7f73989db9958af7b1164aa07095c /src/commonlib/bsd/lz4_wrapper.c
parent563fc0889fcaee05d104f40d7f22fc27046bbe24 (diff)
util/cbfstool: extend includes in commonlib
Certain non-Linux OSes require an include file in different places. Build tested on Linux, FreeBSD. Change-Id: Icd81c2a96c608589ce2ec8f4b883fd4e584776b1 Signed-off-by: Idwer Vollering <vidwer@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38648 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/bsd/lz4_wrapper.c')
-rw-r--r--src/commonlib/bsd/lz4_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/lz4_wrapper.c b/src/commonlib/bsd/lz4_wrapper.c
index 3822e8c60f..73185a5051 100644
--- a/src/commonlib/bsd/lz4_wrapper.c
+++ b/src/commonlib/bsd/lz4_wrapper.c
@@ -2,7 +2,7 @@
#include <commonlib/bsd/compression.h>
#include <commonlib/bsd/helpers.h>
-#include <endian.h>
+#include <commonlib/bsd/sysincludes.h>
#include <stdint.h>
#include <string.h>