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  <tom@tromey.com>

	* debuginfod-support.h: Include scoped_fd.h.
This commit is contained in:
Tom Tromey 2021-03-06 09:26:39 -07:00
parent a7308ce01e
commit 1803565556
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2021-03-06 Tom Tromey <tom@tromey.com>
* debuginfod-support.h: Include scoped_fd.h.
2021-03-06 Tom Tromey <tom@tromey.com> 2021-03-06 Tom Tromey <tom@tromey.com>
* dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.

View File

@ -19,6 +19,8 @@
#ifndef DEBUGINFOD_SUPPORT_H #ifndef DEBUGINFOD_SUPPORT_H
#define DEBUGINFOD_SUPPORT_H #define DEBUGINFOD_SUPPORT_H
#include "gdbsupport/scoped_fd.h"
/* Query debuginfod servers for a source file associated with an /* Query debuginfod servers for a source file associated with an
executable with BUILD_ID. BUILD_ID can be given as a binary blob or 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 a null-terminated string. If given as a binary blob, BUILD_ID_LEN