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
This commit is contained in:
Richard Biener 2013-01-15 15:54:05 +00:00 committed by Richard Biener
parent e0f8b6a0a0
commit 34ab62ee34
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-01-15 Richard Biener <rguenther@suse.de>
PR bootstrap/55961
* system.h: Do not include gmp.h for building host tools.
2013-01-15 Richard Biener <rguenther@suse.de>
PR middle-end/55882

View File

@ -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"