]> granicus.if.org Git - gc/commitdiff
Fix include gc_gcj.h in thread_local_alloc.c
authorIvan Maidanski <ivmai@mail.ru>
Wed, 28 Feb 2018 20:16:36 +0000 (23:16 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2018 11:45:08 +0000 (14:45 +0300)
(back-port of commit 60d9632a from 'master')

The #include for the public GC headers should not contain "include/"
prefix.

* thread_local_alloc.c [GC_GCJ_SUPPORT]: Include "gc_gcj.h" instead of
"include/gc_gcj.h".

thread_local_alloc.c

index e397f530276931877ee63b29cac68b250e4fdc4b..f54cf97412eeee3fb427e1e3308c8cdaa3a317cf 100644 (file)
@@ -217,7 +217,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_malloc_atomic(size_t bytes)
 
 # include "atomic_ops.h" /* for AO_compiler_barrier() */
 
-# include "include/gc_gcj.h"
+# include "gc_gcj.h"
 
 /* Gcj-style allocation without locks is extremely tricky.  The         */
 /* fundamental issue is that we may end up marking a free list, which   */