Fix issue https://github.com/Razish/OpenJK/issues/198

added #include <errno.h>, thanks ensiform