msvc io.h changes for inp.c