From 254cc9c7a5ecc45bb0c77b28d5e98e03674223f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Jul 2014 22:53:47 +0300 Subject: Fix compilation with some debug flags. --- src/Makefile.am | 2 ++ src/gui/fonts/textchunk.cpp | 1 + src/utils/sdlmemoryobject.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index d34fe7ee6..ec895c687 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -127,6 +127,8 @@ dyecmd_SOURCES = gui/cliprect.cpp \ utils/physfstools.h \ utils/sdl2helper.cpp \ utils/sdl2helper.h \ + utils/sdlcheckutils.cpp \ + utils/sdlcheckutils.h \ utils/sdlhelper.cpp \ utils/sdlhelper.h \ utils/sdlmemoryobject.h \ diff --git a/src/gui/fonts/textchunk.cpp b/src/gui/fonts/textchunk.cpp index be0509562..1bdadd46e 100644 --- a/src/gui/fonts/textchunk.cpp +++ b/src/gui/fonts/textchunk.cpp @@ -29,6 +29,7 @@ #include "resources/surfaceimagehelper.h" #include "utils/delete2.h" +#include "utils/sdlcheckutils.h" #include "utils/stringutils.h" #include "debug.h" diff --git a/src/utils/sdlmemoryobject.h b/src/utils/sdlmemoryobject.h index cc96f60c1..c9ec14325 100644 --- a/src/utils/sdlmemoryobject.h +++ b/src/utils/sdlmemoryobject.h @@ -25,6 +25,8 @@ #include "logger.h" +#include "utils/stringutils.h" + #include #include "localconsts.h" -- cgit v1.2.3-70-g09d2