include a missing header

without this mingw can't compile the file due to undefined `_CRT_ERROR` etc

should be pretty noncontroversial