diff --git a/src/tray/windows/SDL_tray.c b/src/tray/windows/SDL_tray.c index e2823a1c88..94aa258e34 100644 --- a/src/tray/windows/SDL_tray.c +++ b/src/tray/windows/SDL_tray.c @@ -29,6 +29,13 @@ #include +#ifndef NOTIFYICON_VERSION_4 +#define NOTIFYICON_VERSION_4 4 +#endif +#ifndef NIF_SHOWTIP +#define NIF_SHOWTIP 0x00000080 +#endif + #define WM_TRAYICON (WM_USER + 1) struct SDL_TrayMenu {