From 1803565556f36692a0d49e3c1aeae1595a64709d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 6 Mar 2021 09:26:39 -0700 Subject: [PATCH] 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(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00619cc4cd8..e73dec797aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gdb/debuginfod-support.h b/gdb/debuginfod-support.h index e90b78a745b..5e5aab56e74 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 -- 2.30.2