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/passthrough_hp.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/passthrough_hp.cc') diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc index 4f34e2b..65377b9 100644 --- a/example/passthrough_hp.cc +++ b/example/passthrough_hp.cc @@ -59,7 +59,9 @@ #include #include #include +#ifdef HAVE_SYS_XATTR_H #include +#endif #include #include #include -- cgit v1.2.3