From: Ivan Maidanski Date: Fri, 20 Oct 2017 09:16:20 +0000 (+0300) Subject: Revert 'Never try to include private/config.h' X-Git-Tag: v8.0.0~540 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6e4968099df208b0ec579b6f7a8656712e27c1d;p=gc Revert 'Never try to include private/config.h' This reverts commit 6abcbd9101a17443a848e58f6bad45d0b0aa4d1a. Because "config.h" file may be located in some folder other than the parent of "private" folder, e.g. during "make distcheck". --- diff --git a/include/private/gc_pmark.h b/include/private/gc_pmark.h index 61254215..ec0ebc9f 100644 --- a/include/private/gc_pmark.h +++ b/include/private/gc_pmark.h @@ -23,7 +23,7 @@ #define GC_PMARK_H #if defined(HAVE_CONFIG_H) && !defined(GC_PRIVATE_H) -# include "../config.h" +# include "config.h" #endif #ifndef GC_BUILD diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 77db24bc..c72b7ec0 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -19,7 +19,7 @@ #define GC_PRIVATE_H #ifdef HAVE_CONFIG_H -# include "../config.h" +# include "config.h" #endif #ifndef GC_BUILD