From 837c3537e3fe149aadf37dc7913ba170e4c36bd1 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 8 Jul 2024 12:41:34 +0200 Subject: [PATCH] tests: add mount-api-utils.h to linux only ifdef This is a cosmetic change. Let's use the already defined Linux-only ifdef for mount-api-utils.h too. Signed-off-by: Karel Zak --- tests/helpers/test_sysinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c index 362466a6a..6447e8413 100644 --- a/tests/helpers/test_sysinfo.c +++ b/tests/helpers/test_sysinfo.c @@ -27,12 +27,12 @@ #include #include #include + #ifdef __linux__ # include +# include "mount-api-utils.h" #endif -#include "mount-api-utils.h" - #ifdef HAVE_LINUX_NSFS_H # include # if defined(NS_GET_NSTYPE) && defined(NS_GET_OWNER_UID) -- 2.47.3