summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app/main.cpp1
-rw-r--r--test/unit/CMakeLists.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 5c0afd3..1e70beb 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -28,6 +28,7 @@
#include "common/misc.h"
#include "common/restext.h"
+#include <SDL.h>
/* Doxygen main page */
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 34570a6..1f5e1bc 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -10,7 +10,8 @@ elseif(PLATFORM_LINUX)
# for clock_gettime
set(PLATFORM_LIBS "-lrt -lX11")
elseif(PLATFORM_MACOSX)
- set(PLATFORM_LIBS ${X11_X11_LIB})
+ find_library(LIBINTL_LIBRARY NAMES intl libintl )
+ set(PLATFORM_LIBS ${LIBINTL_LIBRARY} ${X11_X11_LIB})
endif()