Skip to content

Add windows includes to xmlIO.c

Joey Arhar requested to merge josepharhar/libxml2:winincludes into master

xmlIO.c calls read() and getcwd() which need io.h and direct.h respectively when compiling on windows. Otherwise, a compiler error may be raised saying that read() and getcwd() were used implicitly.

This was regressed recently, I'm guessing it was due to the changes to win32config.h in commit 84085a26

Merge request reports