From 1803565556f36692a0d49e3c1aeae1595a64709d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 6 Mar 2021 09:26:39 -0700 Subject: Include scoped_fd.h in debuginfod-support.h debuginfod-support.h requires scoped_fd, so include the header here. gdb/ChangeLog 2021-03-06 Tom Tromey * debuginfod-support.h: Include scoped_fd.h. --- gdb/ChangeLog | 4 ++++ gdb/debuginfod-support.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00619cc..e73dec7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2021-03-06 Tom Tromey + * debuginfod-support.h: Include scoped_fd.h. + +2021-03-06 Tom Tromey + * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter. (get_abbrev_section_for_cu, read_attribute_value) diff --git a/gdb/debuginfod-support.h b/gdb/debuginfod-support.h index e90b78a..5e5aab5 100644 --- a/gdb/debuginfod-support.h +++ b/gdb/debuginfod-support.h @@ -19,6 +19,8 @@ #ifndef DEBUGINFOD_SUPPORT_H #define DEBUGINFOD_SUPPORT_H +#include "gdbsupport/scoped_fd.h" + /* Query debuginfod servers for a source file associated with an executable with BUILD_ID. BUILD_ID can be given as a binary blob or a null-terminated string. If given as a binary blob, BUILD_ID_LEN -- cgit v1.1