]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/47467 (hwint.h:239:3: error: implicit declaration of function 'abs')
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 26 Jan 2011 22:10:23 +0000 (22:10 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 26 Jan 2011 22:10:23 +0000 (22:10 +0000)
PR bootstrap/47467
* targext.c: Include target files if IN_RTS is defined.

From-SVN: r169308

gcc/ada/ChangeLog
gcc/ada/targext.c

index b110e9a676788c163325c903b07b82f9b9adb4cb..56d0030cf7691e0099d6462e7bd11edc5508104e 100644 (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
index c9b6b9f5dd8c9f1611d6ff4135f47fab3fd34f93..b37cc28c6be1c111f27a3829aa752f857ede18e0 100644 (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- *
 /*  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"