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 6125421..ec0ebc9 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 77db24b..c72b7ec 100644 (file)
@@ -19,7 +19,7 @@
 #define GC_PRIVATE_H
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+# include "config.h"
 #endif
 
 #ifndef GC_BUILD