From 5273b0bc8dcc2adbf8557a4008c63e50955884fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Jun 2016 02:17:22 +0300 Subject: Fix tests compilation without SDL2. --- src/utils/files_unittest.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/files_unittest.cc') diff --git a/src/utils/files_unittest.cc b/src/utils/files_unittest.cc index 5ccfe0e04..db56e03e9 100644 --- a/src/utils/files_unittest.cc +++ b/src/utils/files_unittest.cc @@ -27,6 +27,10 @@ #include "resources/resourcemanager/resourcemanager.h" +#ifndef USE_SDL2 +#include +#endif // USE_SDL2 + #include "debug.h" TEST_CASE("Files renameFile") -- cgit v1.2.3-70-g09d2