summaryrefslogtreecommitdiffstats
path: root/src/prefix.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-30 23:49:49 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-10-01 22:50:12 +0000
commit71f15d1e96dab3a48fd8e544561f1830795b56ed (patch)
tree43579c16ebba5afc977b059b9ddc057e40fb4dae /src/prefix.cpp
parentUse _WIN32 instead of WIN32 (diff)
downloadinkscape-71f15d1e96dab3a48fd8e544561f1830795b56ed.tar.gz
inkscape-71f15d1e96dab3a48fd8e544561f1830795b56ed.zip
Remove #include "config.h" wherever possible
Diffstat (limited to 'src/prefix.cpp')
-rw-r--r--src/prefix.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/prefix.cpp b/src/prefix.cpp
index 7ba6d16f4..107badd90 100644
--- a/src/prefix.cpp
+++ b/src/prefix.cpp
@@ -23,13 +23,12 @@
* --> expands br_locate to foobar_br_locate
*/
-#ifndef _PREFIX_C_
-#define _PREFIX_C_
-
#ifdef HAVE_CONFIG_H
-#include <config.h>
+# include "config.h" // only include where actually required!
#endif
+#ifndef _PREFIX_C_
+#define _PREFIX_C_
#include <glib.h>
#include <cstdlib>