diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c index 9c1f4013760..c9d6e633bf3 100644 --- a/gdb/dwarf2/index-write.c +++ b/gdb/dwarf2/index-write.c @@ -30,6 +30,7 @@ #include "gdbsupport/scoped_fd.h" #include "complaints.h" #include "dwarf2/index-common.h" +#include "dwarf2/cooked-index.h" #include "dwarf2.h" #include "dwarf2/read.h" #include "dwarf2/dwz.h" diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 96f38a9bbcb..dc7abf23ba4 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -23,7 +23,6 @@ #include #include #include "dwarf2/comp-unit-head.h" -#include "dwarf2/cooked-index.h" #include "dwarf2/file-and-dir.h" #include "dwarf2/index-cache.h" #include "dwarf2/mapped-index.h"