]> Savannah Git Hosting - gnulib.git/commitdiff
termios tests: Check for struct winsize.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 13 Aug 2024 03:11:19 +0000 (20:11 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 13 Aug 2024 03:11:19 +0000 (20:11 -0700)
* tests/test-termios.c (t2): Make sure inclusion of termios.h allows use
of struct winsize.

ChangeLog
tests/test-termios.c

index b6c173ab03eed149398f8634eb20cb4c3b09ae66..300af4c444a6caa6acbcfbc5a6717a1987c99722 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-08-12  Collin Funk  <collin.funk1@gmail.com>
 
+       termios tests: Check for struct winsize.
+       * tests/test-termios.c (t2): Make sure inclusion of termios.h allows use
+       of struct winsize.
+
        termios: Define struct winsize on all platforms.
        * doc/posix-headers/termios.texi (termios.h): Mention struct winsize is
        defined in <sys/ioctl.h> on glibc.
index 93a6b458cf55d4cd16c3d9589f7c8a360641e1a4..fdc01f13e5469abebaade264f17df7f11b53ec94 100644 (file)
@@ -22,6 +22,7 @@
 
 /* Check that the types are all defined.  */
 pid_t t1;
+struct winsize t2;
 
 int
 main (void)