aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/targext.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-01-26 22:10:23 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-01-26 22:10:23 +0000
commitdcf25f597322d3ed96fe648e668a342db5015edd (patch)
tree6610acedc525158c016ad8e3ba2feebc97bb0def /gcc/ada/targext.c
parent5c2917ec9d9fe2e633d09b9401a23b0a9c47a23f (diff)
downloadgcc-dcf25f597322d3ed96fe648e668a342db5015edd.zip
gcc-dcf25f597322d3ed96fe648e668a342db5015edd.tar.gz
gcc-dcf25f597322d3ed96fe648e668a342db5015edd.tar.bz2
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
Diffstat (limited to 'gcc/ada/targext.c')
-rw-r--r--gcc/ada/targext.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/targext.c b/gcc/ada/targext.c
index c9b6b9f..b37cc28 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"