From: Peter Krempa Date: Mon, 23 Apr 2018 15:10:07 +0000 (+0200) Subject: util: file: Use only one #ifdef for __linux__ X-Git-Tag: v4.4.0-rc1~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33a3b1006db84e4a0e8b4e8f561aff546466c58;p=thirdparty%2Flibvirt.git util: file: Use only one #ifdef for __linux__ Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- diff --git a/src/util/virfile.c b/src/util/virfile.c index 40f106d01d..d1dd35db1c 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -57,11 +57,10 @@ # include # endif # include -#endif - -#if defined(__linux__) && HAVE_DECL_LO_FLAGS_AUTOCLEAR -# include -# include +# if HAVE_DECL_LO_FLAGS_AUTOCLEAR +# include +# include +# endif #endif #include "configmake.h"