From 27b8a5cc89898c3f12dae57a58b15efddee9fe18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Thu, 23 Jul 2015 23:14:53 +0200 Subject: [PATCH] fix GRAPHICS_DISABLED build --- ccstruct/imagedata.cpp | 4 ++++ ccstruct/split.cpp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ccstruct/imagedata.cpp b/ccstruct/imagedata.cpp index 4016a92..3c244c7 100644 --- a/ccstruct/imagedata.cpp +++ b/ccstruct/imagedata.cpp @@ -17,6 +17,10 @@ // limitations under the License. /////////////////////////////////////////////////////////////////////// +// Include automatically generated configuration file if running autoconf. +#ifdef HAVE_CONFIG_H +#include "config_auto.h" +#endif #include "imagedata.h" diff --git a/ccstruct/split.cpp b/ccstruct/split.cpp index 24650d4..6e6ea44 100644 --- a/ccstruct/split.cpp +++ b/ccstruct/split.cpp @@ -25,6 +25,11 @@ /*---------------------------------------------------------------------- I n c l u d e s ----------------------------------------------------------------------*/ +// Include automatically generated configuration file if running autoconf. +#ifdef HAVE_CONFIG_H +#include "config_auto.h" +#endif + #include "split.h" #include "coutln.h" #include "tprintf.h"