Include systty.h; don't mess with FIONREAD. Don't include termio.h dorectly.
Attach a file by drag & drop or click to upload