I agree. The bug here is that if termio.h is not present, then sgtty.h is prefered over termios.h, and the converse if termio.h is present.
Is there still time to get the fixed version included in Squeeze ?
This question is out of porter's scope. Please do upload into unstable and ask on -release for unblock.They might or might not give an exception, but fixed gap will be available at least from unstable.
Thanks for your care Petr