diff --git a/src/main.cpp b/src/main.cpp index 2ef45c23d..9ff5b9934 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ #include #include #include -#ifdef HAVE_GUI +#ifdef HAVE_SDL2 #include "SDL_events.h" #endif #include "ta-log.h" @@ -467,7 +467,7 @@ int main(int argc, char** argv) { if (consoleMode) { logI("playing..."); e.play(); -#ifdef HAVE_GUI +#ifdef HAVE_SDL2 SDL_Event ev; while (true) { SDL_WaitEvent(&ev);