diff options
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/resources/gettext.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 42b9d262..b3142582 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -307,5 +307,6 @@ tmw_SOURCES = gui/widgets/dropdown.cpp \ # set the include path found by configure INCLUDES = \ $(all_includes) \ + -DHAS_CONFIG_H \ -DTMW_DATADIR=\""$(pkgdatadir)/"\" \ -DLOCALEDIR=\""$(localedir)"\" diff --git a/src/resources/gettext.h b/src/resources/gettext.h index 4b893a6f..9abb5771 100644 --- a/src/resources/gettext.h +++ b/src/resources/gettext.h @@ -24,7 +24,9 @@ #ifndef _TMW_RESOURCES_GETTEXT_H #define _TMW_RESOURCES_GETTEXT_H +#ifdef HAS_CONFIG_H #include "../../config.h" +#endif #if ENABLE_NLS |