From 2b59a0a19b5db632fa3d8f217ebde48382dff9ca Mon Sep 17 00:00:00 2001 From: likun17 Date: Fri, 24 May 2024 17:15:01 +0800 Subject: [PATCH] lzf: Add macro judgment to header file reference. Signed-off-by: likun17 --- include/nuttx/streams.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/streams.h b/include/nuttx/streams.h index ff6c37ade3..ee5decc083 100644 --- a/include/nuttx/streams.h +++ b/include/nuttx/streams.h @@ -27,7 +27,9 @@ #include +#ifdef CONFIG_LIBC_LZF #include +#endif #include #ifndef CONFIG_DISABLE_MOUNTPOINT #include