diff --git a/ccstruct/imagedata.cpp b/ccstruct/imagedata.cpp index 4016a92b5b..3c244c7724 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 24650d4f7a..6e6ea446ee 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"