diff options
author | Richard Biener <rguenther@suse.de> | 2013-01-15 15:54:05 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-01-15 15:54:05 +0000 |
commit | 34ab62ee34e466508a8298eafc24a15a45b97ef6 (patch) | |
tree | a92e74065f1854e027ae6d310ac8ad9f5f0a08ee /gcc/system.h | |
parent | e0f8b6a0a070b748cf1666bc6eec6701453d8e2f (diff) | |
download | gcc-34ab62ee34e466508a8298eafc24a15a45b97ef6.zip gcc-34ab62ee34e466508a8298eafc24a15a45b97ef6.tar.gz gcc-34ab62ee34e466508a8298eafc24a15a45b97ef6.tar.bz2 |
re PR bootstrap/55961 (system.h includes gmp.h but system.h is included for build and not just target)
2013-01-15 Richard Biener <rguenther@suse.de>
PR bootstrap/55961
* system.h: Do not include gmp.h for building host tools.
From-SVN: r195205
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index fbf1f11..41cd565 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -636,7 +636,10 @@ extern int vsnprintf(char *, size_t, const char *, va_list); #include <dlfcn.h> #endif +/* Do not introduce a gmp.h dependency on the build system. */ +#ifndef GENERATOR_FILE #include <gmp.h> +#endif /* Get libiberty declarations. */ #include "libiberty.h" |