From e9a140b8172c312981b2bb834011ef782a386504 Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Tue, 24 Jun 2025 09:17:42 +0300 Subject: examples: Guard inclusions of Linux headers with appropriate ifdefs Signed-off-by: Gleb Popov <6yearold@gmail.com> --- example/memfs_ll.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example/memfs_ll.cc') diff --git a/example/memfs_ll.cc b/example/memfs_ll.cc index 6038850..68f8e96 100644 --- a/example/memfs_ll.cc +++ b/example/memfs_ll.cc @@ -6,7 +6,6 @@ See the file COPYING. */ -#include #define FUSE_USE_VERSION 317 #include @@ -28,6 +27,9 @@ #include #include #include +#ifdef HAVE_LINUX_LIMITS_H +#include +#endif #define MEMFS_ATTR_TIMEOUT 0.0 #define MEMFS_ENTRY_TIMEOUT 0.0 -- cgit v1.2.3