From: Tom Tromey Date: Sat, 6 Mar 2021 16:26:39 +0000 (-0700) Subject: Include scoped_fd.h in debuginfod-support.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1803565556f36692a0d49e3c1aeae1595a64709d;p=binutils-gdb.git 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. --- 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