https://bugs.winehq.org/show_bug.cgi?id=39793
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- 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.