From 13f447a33ca50156257d0cef0b707aa18416fa9b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 15 Oct 2014 09:55:19 +0000 Subject: hash-table.c: Include bconfig.h if building for the host. 2014-10-15 Richard Biener * hash-table.c: Include bconfig.h if building for the host. * hash-table.h: Do not include ggc.h on the host but just declare a few ggc allocation templates. From-SVN: r216246 --- gcc/hash-table.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/hash-table.h') diff --git a/gcc/hash-table.h b/gcc/hash-table.h index 2493f2e..6df32a2 100644 --- a/gcc/hash-table.h +++ b/gcc/hash-table.h @@ -196,7 +196,14 @@ along with GCC; see the file COPYING3. If not see #ifndef TYPED_HASHTAB_H #define TYPED_HASHTAB_H +#ifndef GENERATOR_FILE #include "ggc.h" +#else +template +T *ggc_cleared_vec_alloc (size_t); +template +T *ggc_alloc (); +#endif #include "hashtab.h" #include -- cgit v1.1