]> granicus.if.org Git - gc/commitdiff
Never try to include private/config.h
authorIvan Maidanski <ivmai@mail.ru>
Wed, 18 Oct 2017 10:34:08 +0000 (13:34 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 18 Oct 2017 10:34:08 +0000 (13:34 +0300)
config.h is now located in "include" folder (not "include/private").

* include/private/gc_pmark.h [HAVE_CONFIG_H && !GC_PRIVATE_H]
(include config.h): Add "../" prefix.
* include/private/gc_priv.h [HAVE_CONFIG_H] (include config.h):
Likewise.

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

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