From: Karel Zak Date: Mon, 8 Jul 2024 10:41:34 +0000 (+0200) Subject: tests: add mount-api-utils.h to linux only ifdef X-Git-Tag: v2.42-start~279 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=837c3537e3fe149aadf37dc7913ba170e4c36bd1;p=thirdparty%2Futil-linux.git 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 --- 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)