]> 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>
Fri, 2 Mar 2018 17:21:10 +0000 (20:21 +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 25568b46b8d74438f7f0b39447d5dbfc01adc852..234c06de4661b42c23275b04fb184fc14d2df620 100644 (file)
@@ -198,7 +198,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_malloc_kind(size_t bytes, int knd)
 
 # 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   */