summaryrefslogtreecommitdiff
path: root/gcc/hash-table.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-10-15 09:55:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-10-15 09:55:19 +0000
commit13f447a33ca50156257d0cef0b707aa18416fa9b (patch)
tree290bdb97db8954d4d24181148fc5c507f1286df9 /gcc/hash-table.c
parent11915f2ead8446ed5d3457717a5ce0a73eb406c4 (diff)
hash-table.c: Include bconfig.h if building for the host.
2014-10-15 Richard Biener <rguenther@suse.de> * 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
Diffstat (limited to 'gcc/hash-table.c')
-rw-r--r--gcc/hash-table.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/hash-table.c b/gcc/hash-table.c
index 749a1182f49..3dfde6d2170 100644
--- a/gcc/hash-table.c
+++ b/gcc/hash-table.c
@@ -22,7 +22,11 @@ along with GCC; see the file COPYING3. If not see
/* This file implements a typed hash table.
The implementation borrows from libiberty's hashtab. */
+#ifdef GENERATOR_FILE
+#include "bconfig.h"
+#else
#include "config.h"
+#endif
#include "system.h"
#include "coretypes.h"
#include "hash-table.h"