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
This commit is contained in:
Simon Marchi 2022-01-21 11:33:29 -05:00
parent e901223d53
commit ed09c325ec

View file

@ -30,6 +30,7 @@
#include <sys/types.h>
#include "command.h"
#include "gdbsupport/buildargv.h"
struct ser_windows_state
{