diff options
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/dependency.cpp | 9 | ||||
| -rw-r--r-- | src/extension/error-file.cpp | 6 | ||||
| -rw-r--r-- | src/extension/script/InkscapeBinding.cpp | 5 |
3 files changed, 9 insertions, 11 deletions
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 5a8046613..473c6dc62 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -7,16 +7,13 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ - -extern "C" { // glib-2.4 needs this -#include <libintl.h> -} +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <glibmm/i18n.h> - #include "config.h" #include "path-prefix.h" - #include "dependency.h" #include "db.h" diff --git a/src/extension/error-file.cpp b/src/extension/error-file.cpp index 92e2d0625..ec2878f5d 100644 --- a/src/extension/error-file.cpp +++ b/src/extension/error-file.cpp @@ -8,9 +8,9 @@ */ -extern "C" { // glib-2.4 needs this -#include <libintl.h> -} +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <glibmm/i18n.h> diff --git a/src/extension/script/InkscapeBinding.cpp b/src/extension/script/InkscapeBinding.cpp index e50ba3e58..51c4c279f 100644 --- a/src/extension/script/InkscapeBinding.cpp +++ b/src/extension/script/InkscapeBinding.cpp @@ -1,7 +1,8 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif -#include <cstdio> #include "InkscapeBinding.h" - #include "help.h" namespace Inkscape { |
