Merge pull request #42 from ioan-chera/osx-compile

Fixed so compilation works on Mac
This commit is contained in:
coelckers 2016-01-23 16:34:38 +01:00
commit bd0ed01ee7
2 changed files with 2 additions and 2 deletions

2
misc.c
View file

@ -12,7 +12,7 @@
#else
#include <fcntl.h>
#include <stdlib.h>
#ifndef unix
#if !defined(unix) && !defined(__APPLE__)
#include <io.h>
#endif
#endif

View file

@ -15,7 +15,7 @@
#ifdef __NeXT__
#include <libc.h>
#else
#ifndef unix
#if !defined(unix) && !defined(__APPLE__)
#include <io.h>
#endif
#include <limits.h>