summaryrefslogtreecommitdiff
path: root/gcc/ada/raise-gcc.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-30 09:50:52 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-30 09:50:52 +0000
commit3c7a2cbe648de98e7e80df9ff5e76da5d39ad6e3 (patch)
tree11167eb118bd26eab156633a7fec889e35de20da /gcc/ada/raise-gcc.c
parentcf564daf874a1d5425d8198e305d8f863631b307 (diff)
downloadgcc-3c7a2cbe648de98e7e80df9ff5e76da5d39ad6e3.tar.gz
* raise-gcc: Include dwarf2.h conditionally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/raise-gcc.c')
-rw-r--r--gcc/ada/raise-gcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index b30145af531..ca20709ddc8 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -96,7 +96,11 @@ __gnat_Unwind_ForcedUnwind (_Unwind_Exception *, void *, void *);
#ifdef IN_RTS /* For eh personality routine */
+#if (__GNUC__ * 10 + __GNUC_MINOR__ > 44)
#include "elf/dwarf2.h"
+#else
+#include "dwarf2.h"
+#endif
#include "unwind-dw2-fde.h"
#include "unwind-pe.h"