In my particular situation, I am using MinGW/MSys. It doesn't contain termios.h. Turns out that it isn't a library that can be downloaded and installed (Google didn't found any). Termcap also doesn't include termios.h.
From where can I get this file?