summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-23 15:14:48 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-09-24 19:20:13 +0000
commit7cbfe202efaa0d3a36cfbb99abdd09d8cc25efc4 (patch)
tree3842c2d4a26444d4cdcb1c501a18aa19eebd21c5 /src/path-prefix.h
parentLPE PointParam: use doc2dt (diff)
downloadinkscape-7cbfe202efaa0d3a36cfbb99abdd09d8cc25efc4.tar.gz
inkscape-7cbfe202efaa0d3a36cfbb99abdd09d8cc25efc4.zip
Remove #include "config.h" from header files where possible
Diffstat (limited to 'src/path-prefix.h')
-rw-r--r--src/path-prefix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h
index 5e8eec085..f875a6c69 100644
--- a/src/path-prefix.h
+++ b/src/path-prefix.h
@@ -13,8 +13,8 @@
#ifndef SEEN_PATH_PREFIX_H
#define SEEN_PATH_PREFIX_H
-#ifndef INKSCAPE_DATADIR
-# error "INKSCAPE_DATADIR undefined. Must #include config.h before anything else."
+#ifdef HAVE_CONFIG_H
+# include "config.h"
#endif
#include "prefix.h"