]> granicus.if.org Git - gc/commitdiff
Revert 'Never try to include private/config.h'
authorIvan Maidanski <ivmai@mail.ru>
Fri, 20 Oct 2017 09:16:20 +0000 (12:16 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 20 Oct 2017 09:16:20 +0000 (12:16 +0300)
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".

include/private/gc_pmark.h
include/private/gc_priv.h

index 6125421595c5354bba0b2eb1c12f60dd206a7569..ec0ebc9fcd37192da93ec24f82caf33cb561b52e 100644 (file)
@@ -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
index 77db24bc9ae413e5f88d876cc99b553478061cc3..c72b7ec013d59e84fb4132da19d08be340147652 100644 (file)
@@ -19,7 +19,7 @@
 #define GC_PRIVATE_H
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+# include "config.h"
 #endif
 
 #ifndef GC_BUILD