Bad prototype fix in windows io