Well, the easy option is simply to remove <termio.h> entirely, and optionally the definition of struct termio. I do have a a WIP patch that I'll post a pointer to late today or tomorrow.