diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-01-21 11:33:29 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-01-21 11:34:30 -0500 |
commit | ed09c325ec7f9d7784025185b181d3a9d884ecb8 (patch) | |
tree | 40dbe08e32fb1efc9c7a67bb42b607d18b06ac83 /gdb/ser-mingw.c | |
parent | e901223d5332ccd0d2c82a52eed38edb9b6dad09 (diff) | |
download | gdb-ed09c325ec7f9d7784025185b181d3a9d884ecb8.zip gdb-ed09c325ec7f9d7784025185b181d3a9d884ecb8.tar.gz gdb-ed09c325ec7f9d7784025185b181d3a9d884ecb8.tar.bz2 |
gdb: include gdbsupport/buildargv.h in ser-mingw.c
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
Diffstat (limited to 'gdb/ser-mingw.c')
-rw-r--r-- | gdb/ser-mingw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c index a5be6ab..afe0410 100644 --- a/gdb/ser-mingw.c +++ b/gdb/ser-mingw.c @@ -30,6 +30,7 @@ #include <sys/types.h> #include "command.h" +#include "gdbsupport/buildargv.h" struct ser_windows_state { |