https://bugs.winehq.org/show_bug.cgi?id=39793
--- Comment #6 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #4)
In the patch you are adding a conditional dependency on termios.h but when using the struct termios you are not checking with an ifdef so if termios.h does not exist the patch would not compile, I'm away from Linux so I can't check but I believe this is one reason the patch may have been marked as pending.
This is most likely fine, the function is part of POSIX, and also used at various other places without #ifdef check.