diff --git a/src/core/utils_linux.cpp b/src/core/utils_linux.cpp index 86797fe..7d0ee69 100644 --- a/src/core/utils_linux.cpp +++ b/src/core/utils_linux.cpp @@ -37,11 +37,6 @@ #include #include #if FRAMELESSHELPER_CONFIG(private_qt) -# if __has_include() -# include -# define FRAMELESSHELPER_HAS_X11EXTRAS -# endif // __has_include() -#else // !FRAMELESSHELPER_CONFIG(private_qt) # include # include # if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) @@ -54,6 +49,11 @@ # include # define FRAMELESSHELPER_HAS_X11EXTRAS # endif // (QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)) +#else // !FRAMELESSHELPER_CONFIG(private_qt) +# if __has_include() +# include +# define FRAMELESSHELPER_HAS_X11EXTRAS +# endif // __has_include() #endif // FRAMELESSHELPER_CONFIG(private_qt) FRAMELESSHELPER_BEGIN_NAMESPACE