Fixed MS compiles and silenced warnings.

This commit is contained in:
n-a-c-h
2006-02-27 20:52:27 +00:00
parent 5634944feb
commit 11520f1739
2 changed files with 5 additions and 0 deletions

View File

@@ -28,9 +28,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#define DIR_SLASH '\\'
#ifdef __WIN32__
#include <windows.h>
#include <io.h>
#else
#include <unistd.h>
#endif
#endif

View File

@@ -29,6 +29,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <sys/stat.h>
#include <zlib.h>
#ifdef __WIN32__