lzf: Add macro judgment to header file reference.

Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
likun17 2024-05-24 17:15:01 +08:00 committed by Xiang Xiao
parent c5ecc49c10
commit 2b59a0a19b

View File

@ -27,7 +27,9 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#ifdef CONFIG_LIBC_LZF
#include <lzf.h> #include <lzf.h>
#endif
#include <stdio.h> #include <stdio.h>
#ifndef CONFIG_DISABLE_MOUNTPOINT #ifndef CONFIG_DISABLE_MOUNTPOINT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>