summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-09 09:28:21 -0600
committerTom Rini <trini@konsulko.com>2021-10-09 13:09:56 -0400
commit2a2d8e94ddc75c2c8d456e9163aa5dac510badcf (patch)
treee085b4c6bf58d86374bc541da07bf26716f274a1 /lib
parent94e922c76a0e1fcdead3359e340f53fd0709a963 (diff)
lz4: Use a private header for U-Boot
At present U-Boot has a header file called lz4.h for its own use. If the host has its own lz4 header file installed (e.g. from the 'liblz4-dev' package) then host builds will use that instead. Move the U-Boot file into its own directory, as is done with various other headers with the same problem. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4_wrapper.c b/lib/lz4_wrapper.c
index cdbcd05bd4..ebcb5c09a2 100644
--- a/lib/lz4_wrapper.c
+++ b/lib/lz4_wrapper.c
@@ -6,10 +6,10 @@
#include <common.h>
#include <compiler.h>
#include <image.h>
-#include <lz4.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <asm/unaligned.h>
+#include <u-boot/lz4.h>
static u16 LZ4_readLE16(const void *src)
{