summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
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/path-prefix.h
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/path-prefix.h')
-rw-r--r--src/path-prefix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h
index 929419c1d..71bbb40fb 100644
--- a/src/path-prefix.h
+++ b/src/path-prefix.h
@@ -12,6 +12,11 @@
*/
#ifndef SEEN_PATH_PREFIX_H
#define SEEN_PATH_PREFIX_H
+
+#ifdef HAVE_CONFIG_H
+# include "config.h" // only include where actually required!
+#endif
+
#include "prefix.h"