From 7cbfe202efaa0d3a36cfbb99abdd09d8cc25efc4 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 23 Sep 2018 17:14:48 +0200 Subject: Remove #include "config.h" from header files where possible --- src/path-prefix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/path-prefix.h') 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" -- cgit v1.2.3