summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-06-07 03:18:19 +0000
committerJon A. Cruz <jon@joncruz.org>2013-06-07 03:18:19 +0000
commit07dcea8f0ee2631331ed3475c9fc38db3e6df16f (patch)
tree1f641cbe18d34551de780d806a11179212698ba6 /src/extension
parentWarning cleanup. (diff)
downloadinkscape-07dcea8f0ee2631331ed3475c9fc38db3e6df16f.tar.gz
inkscape-07dcea8f0ee2631331ed3475c9fc38db3e6df16f.zip
Adding inclusion of config.h where needed for threads.h check.
(bzr r12355)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/execution-env.cpp4
-rw-r--r--src/extension/internal/grid.cpp4
-rw-r--r--src/extension/prefdialog.h4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 343f87cdb..d4b5fd187 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -10,6 +10,10 @@
#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
#endif
diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp
index 812c383b4..820d1c9d3 100644
--- a/src/extension/internal/grid.cpp
+++ b/src/extension/internal/grid.cpp
@@ -11,6 +11,10 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
#endif
diff --git a/src/extension/prefdialog.h b/src/extension/prefdialog.h
index 4761b2100..905d35744 100644
--- a/src/extension/prefdialog.h
+++ b/src/extension/prefdialog.h
@@ -10,6 +10,10 @@
#ifndef INKSCAPE_EXTENSION_DIALOG_H__
#define INKSCAPE_EXTENSION_DIALOG_H__
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
#endif