ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / mail / mailutils / patches / 03-tiocgwinsz.patch
blobd6be59435bf686d303c95aa84762a21ff8c77f85
2 This fixes the following error:
4 mh_init.c:1142:17: error: 'TIOCGWINSZ' undeclared (first use in this function); did you mean 'LIOCGETS'?
6 --- mailutils-3.13/mh/mh_init.c.orig 2021-07-16 19:50:58.000000000 +0000
7 +++ mailutils-3.13/mh/mh_init.c 2021-12-05 16:03:58.165128225 +0000
8 @@ -30,6 +30,10 @@
9 #include <fnmatch.h>
10 #include <sys/ioctl.h>
12 +#ifdef __sun
13 +#include <sys/termios.h>
14 +#endif
16 void
17 mh_init (void)