diff --git a/toonz/sources/common/tapptools/ttimer.cpp b/toonz/sources/common/tapptools/ttimer.cpp index 2726164..bbd2c70 100644 --- a/toonz/sources/common/tapptools/ttimer.cpp +++ b/toonz/sources/common/tapptools/ttimer.cpp @@ -124,8 +124,8 @@ void CALLBACK ElapsedTimeCB(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, }; #elif LINUX -#include -#include +#include +#include #include "tthread.h" namespace { Uint32 ElapsedTimeCB(Uint32 interval, void *param); diff --git a/toonz/sources/tnzbase/CMakeLists.txt b/toonz/sources/tnzbase/CMakeLists.txt index 2bd9710..ce03b71 100644 --- a/toonz/sources/tnzbase/CMakeLists.txt +++ b/toonz/sources/tnzbase/CMakeLists.txt @@ -190,6 +190,7 @@ elseif(UNIX) set(EXTRA_LIBS ${EXTRA_LIBS} ${SDL_LIB_LIBRARIES}) + include_directories(${SDL_LIB_INCLUDE_DIRS}) target_link_libraries(tnzbase Qt5::Core Qt5::Gui) endif()