diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-15 02:17:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-15 02:17:22 +0300 |
commit | 5273b0bc8dcc2adbf8557a4008c63e50955884fe (patch) | |
tree | 016a51b1411bf175d899dd1ba1944d123bcc6f2d /src/integrity_unittest.cc | |
parent | 4a34b6a722bd86342db71decbd20ae7fac673088 (diff) | |
download | plus-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.gz plus-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.bz2 plus-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.xz plus-5273b0bc8dcc2adbf8557a4008c63e50955884fe.zip |
Fix tests compilation without SDL2.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r-- | src/integrity_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index bf2203847..0c61a15a4 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -34,6 +34,10 @@ #include "utils/env.h" #include "utils/physfstools.h" +#ifndef USE_SDL2 +#include <SDL.h> +#endif // USE_SDL2 + #include "debug.h" namespace |