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

PR bootstrap/47467
	* targext.c: Include target files if IN_RTS is defined.

From-SVN: r169308
This commit is contained in:
Eric Botcazou 2011-01-26 22:10:23 +00:00 committed by Eric Botcazou
parent 5c2917ec9d
commit dcf25f5973
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-01-26 Eric Botcazou <ebotcazou@adacore.com>
PR bootstrap/47467
* targext.c: Include target files if IN_RTS is defined.
2011-01-26 Richard Guenther <rguenther@suse.de>
PR bootstrap/47467

View File

@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
* Copyright (C) 2005-2009 Free Software Foundation, Inc. *
* Copyright (C) 2005-2011, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@ -33,8 +33,13 @@
/* extension for object and executable files. It is used by the compiler, */
/* binder and tools. */
#ifdef IN_RTS
#include "tconfig.h"
#include "tsystem.h"
#else
#include "config.h"
#include "system.h"
#endif
#include "coretypes.h"
#include "tm.h"