include a missing header

without this mingw can't compile the file due to undefined `_CRT_ERROR` etc
Merge pull request #7 from tkelman/missing-header

include a missing header