summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
diff options
context:
space:
mode:
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"