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