unix compatibility edits
typo fix
little typos
unix compatibility backup
merge from upstream
fixed ioapi.c
added zlib headers
Using local headers for now.
unix compatibility backup
unix compatibility backup
stricmp / strcmpi -> strcasecmp