From ed09c325ec7f9d7784025185b181d3a9d884ecb8 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 21 Jan 2022 11:33:29 -0500 Subject: [PATCH] gdb: include gdbsupport/buildargv.h in ser-mingw.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: CXX ser-mingw.o /home/simark/src/binutils-gdb/gdb/ser-mingw.c: In function ‘int pipe_windows_open(serial*, const char*)’: /home/simark/src/binutils-gdb/gdb/ser-mingw.c:870:3: error: ‘gdb_argv’ was not declared in this scope 870 | gdb_argv argv (name); | ^~~~~~~~ Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28802 Change-Id: I7f3e8ec5f9ca8582d587545fdf6b69901259f199 --- gdb/ser-mingw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c index a5be6ab166d..afe04102e15 100644 --- a/gdb/ser-mingw.c +++ b/gdb/ser-mingw.c @@ -30,6 +30,7 @@ #include #include "command.h" +#include "gdbsupport/buildargv.h" struct ser_windows_state { -- 2.30.2