mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +00:00
85cf8d3899
Commit f7bd00c12
pulled in a gnulib module that fails to compile
on mingw. Work around it while waiting for an upstream gnulib fix.
* gnulib/local/lib/pty.in.h (openpty): Provide forward
declarations of opaque structs not present on mingw.
* gnulib/local/lib/openpty.c (openpty): Provide stub for mingw.
14 lines
540 B
Diff
14 lines
540 B
Diff
diff --git c/lib/pty.in.h i/lib/pty.in.h
|
|
index aff989c..00eecc6 100644
|
|
--- c/lib/pty.in.h
|
|
+++ i/lib/pty.in.h
|
|
@@ -92,6 +92,8 @@ _GL_WARN_ON_USE (forkpty, "forkpty is not declared consistently - "
|
|
/* Create pseudo tty master slave pair and set terminal attributes
|
|
according to TERMP and WINP. Return handles for both ends in
|
|
*AMASTER and *ASLAVE, and return the name of the slave end in NAME. */
|
|
+struct termios;
|
|
+struct winsize;
|
|
# if @REPLACE_OPENPTY@
|
|
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
|
# undef openpty
|