diff --git a/uppsrc/CtrlLib/TrayIconX11.cpp b/uppsrc/CtrlLib/TrayIconX11.cpp index 230548338..b57749e09 100644 --- a/uppsrc/CtrlLib/TrayIconX11.cpp +++ b/uppsrc/CtrlLib/TrayIconX11.cpp @@ -5,11 +5,13 @@ #ifdef PLATFORM_X11 #if !defined(flagNOGTK) - #include - #include - #ifdef NOTIFY_CHECK_VERSION - #define NOTIFY_VERSION_GT_0_7_0 - #endif + #include + #include + #ifdef NOTIFY_CHECK_VERSION + #if NOTIFY_CHECK_VERSION(0,7,0) + #define NOTIFY_VERSION_GT_0_7_0 + #endif + #endif #endif NAMESPACE_UPP