* modules/pty (Depends-on): Add termios.
* lib/pty.in.h: Make comments more accurate.
(struct winsize): Remove forward declaration.
+2024-08-16 Collin Funk <collin.funk1@gmail.com>
+
+ pty: Define 'struct winsize' on all platforms.
+ * modules/pty (Depends-on): Add termios.
+ * lib/pty.in.h: Make comments more accurate.
+ (struct winsize): Remove forward declaration.
+
2024-08-16 Bruno Haible <bruno@clisp.org>
gitsub.sh: For a submodule, merge from the right remote branch.
# include <libutil.h>
#endif
-/* Get 'struct termios' and 'struct winsize'. */
+/* Get 'struct termios', if available, and 'struct winsize'. */
#include <termios.h>
#if defined _AIX
# include <sys/ioctl.h>
#endif
-/* Mingw lacks 'struct termios' and 'struct winsize', but a forward
- declaration of an opaque type is sufficient to allow compilation of
- a stub openpty(). */
+/* Mingw lacks 'struct termios', but a forward declaration of an opaque type is
+ sufficient to allow compilation of a stub openpty(). */
struct termios;
-struct winsize;
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
include_next
snippet/c++defs
snippet/warn-on-use
+termios
configure.ac:
gl_PTY_H