From: Eric Botcazou Date: Wed, 26 Jan 2011 22:10:23 +0000 (+0000) Subject: re PR other/47467 (hwint.h:239:3: error: implicit declaration of function 'abs') X-Git-Tag: releases/gcc-4.6.0~935 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcf25f597322d3ed96fe648e668a342db5015edd;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b110e9a67678..56d0030cf769 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-01-26 Eric Botcazou + + PR bootstrap/47467 + * targext.c: Include target files if IN_RTS is defined. + 2011-01-26 Richard Guenther PR bootstrap/47467 diff --git a/gcc/ada/targext.c b/gcc/ada/targext.c index c9b6b9f5dd8c..b37cc28c6be1 100644 --- a/gcc/ada/targext.c +++ b/gcc/ada/targext.c @@ -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"