diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e0dd84..9e956b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,6 +82,7 @@ include_directories("${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/devices"
"${PROJECT_SOURCE_DIR}/debugger"
"${PROJECT_SOURCE_DIR}/utils"
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/"
+# ${SDL2_INCLUDE_DIRS})
"${PROJECT_SOURCE_DIR}/thirdparty/SDL2/")
# "${PROJECT_SOURCE_DIR}/thirdparty/cubeb/include")
# ${LIBSOUNDIO_HEADERS})
diff --git a/devices/CMakeLists.txt b/devices/CMakeLists.txt
index 21193b6..b289569 100644
--- a/devices/CMakeLists.txt
+++ b/devices/CMakeLists.txt
@@ -1,4 +1,5 @@
-include_directories("${PROJECT_SOURCE_DIR}")
+include_directories("${PROJECT_SOURCE_DIR}"
+ "${PROJECT_SOURCE_DIR}/thirdparty/SDL2/")
file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
diff --git a/devices/atirage.cpp b/devices/atirage.cpp
index 0a68d11..8e226bf 100644
--- a/devices/atirage.cpp
+++ b/devices/atirage.cpp
@@ -24,6 +24,7 @@ along with this program. If not, see .
#include "memaccess.h"
#include "pcidevice.h"
#include
+#include
#include
#include