re PR other/47467 (hwint.h:239:3: error: implicit declaration of function 'abs')

2011-01-26  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/47467
	* targext.c: Include config.h.
	* gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
	dependency.

From-SVN: r169285
This commit is contained in:
Richard Guenther 2011-01-26 11:53:51 +00:00 committed by Richard Biener
parent 21d6a1c71e
commit 0418e131cb
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-01-26 Richard Guenther <rguenther@suse.de>
PR bootstrap/47467
* targext.c: Include config.h.
* gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
dependency.
2011-01-04 Pascal Obry <obry@adacore.com>
Eric Botcazou <ebotcazou@adacore.com>

View File

@ -1189,7 +1189,7 @@ ada/final.o : ada/final.c $(CONFIG_H) $(SYSTEM_H) ada/raise.h
ada/link.o : ada/link.c
ada/targext.o : ada/targext.c $(SYSTEM_H) coretypes.h $(TM_H)
ada/targext.o : ada/targext.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ADA_CFLAGS) \
$(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)

View File

@ -33,6 +33,7 @@
/* extension for object and executable files. It is used by the compiler, */
/* binder and tools. */
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"