[4/5] Include scoped_fd.h in debuginfod-support.h

Message ID 20210221031647.949270-5-tom@tromey.com
State New
Headers show
Series
  • Some minor dwz-handling improvements & cleanups
Related show

Commit Message

Tom Tromey Feb. 21, 2021, 3:16 a.m.
debuginfod-support.h requires scoped_fd, so include the header here.

gdb/ChangeLog
2021-02-20  Tom Tromey  <tom@tromey.com>

	* debuginfod-support.h: Include scoped_fd.h.
---
 gdb/ChangeLog            | 4 ++++
 gdb/debuginfod-support.h | 2 ++
 2 files changed, 6 insertions(+)

-- 
2.26.2

Patch

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