summaryrefslogtreecommitdiff
path: root/components/gui/src/image_hdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/gui/src/image_hdc.c')
-rw-r--r--components/gui/src/image_hdc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/gui/src/image_hdc.c b/components/gui/src/image_hdc.c
index b8563c5887..ec108b7b1f 100644
--- a/components/gui/src/image_hdc.c
+++ b/components/gui/src/image_hdc.c
@@ -30,7 +30,9 @@
#define HDC_MAGIC_LEN 4
+#ifdef PKG_USING_FASTLZ
extern int fastlz_decompress(const void *input, int length, void *output, int maxout);
+#endif
static rt_bool_t rtgui_image_hdc_check(struct rtgui_filerw *file);
static rt_bool_t rtgui_image_hdc_load(struct rtgui_image *image, struct rtgui_filerw *file, rt_bool_t load);