summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-10-01 20:59:56 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-10-01 22:50:13 +0000
commit8a63ecf127e7ee87716367ae7b2e19267e19d09f (patch)
tree31f496bb0937298df5b9c24a26c35dbabe3391a6 /src/main.cpp
parentMove macros.h and remove unneeded macros (diff)
downloadinkscape-8a63ecf127e7ee87716367ae7b2e19267e19d09f.tar.gz
inkscape-8a63ecf127e7ee87716367ae7b2e19267e19d09f.zip
Avoid duplicating defines in config.h and on command line
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5af472ff7..25119b43a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -23,6 +23,10 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" // only include where actually required!
+#endif
+
// This has to be included prior to anything that includes setjmp.h, it croaks otherwise
#include <png.h>