diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 65115c0c642..0853a41bc05 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -21,7 +21,8 @@ Boston, MA 02111-1307, USA. */ #include "config.h" -#ifdef DWARF_DEBUGGING_INFO +#if defined (DWARF_DEBUGGING_INFO) && (! defined (DWARF_VERSION) \ + || DWARF_VERSION != 2) #include #include "dwarf.h" #include "tree.h"