summaryrefslogtreecommitdiff
path: root/components/gui/src/image_hdc.c
diff options
context:
space:
mode:
authoryangfasheng <[email protected]>2017-12-12 19:46:38 +0800
committeryangfasheng <[email protected]>2017-12-12 19:46:38 +0800
commit2d98c0e7be8e0803de4b4e8e9ba03635bcef91c8 (patch)
tree2369b56b2cb936de281b8e8b335da94828298af3 /components/gui/src/image_hdc.c
parent44e17aa2772a48697604ba1122da4a0bb9015414 (diff)
gui 引擎代码更新;
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);