Fix compilation on OSX after own rB414c70435dcd...

Sigh, why can't all unix have same includes? :/
This commit is contained in:
Bastien Montagne
2014-06-24 08:31:29 +02:00
parent 9ca0c7eea3
commit 65bb121401
2 changed files with 1 additions and 1 deletions

View File

@@ -52,7 +52,6 @@
# include "utf_winfunc.h"
# include "utfconv.h"
#else
# include <unistd.h> // for read close
# include <sys/param.h>
# include <dirent.h>
# include <unistd.h>

View File

@@ -66,6 +66,7 @@
# ifdef WITH_BINRELOC
# include "binreloc.h"
# endif
# include <unistd.h> /* mkdtemp on OSX (and probably all *BSD?), not worth making specific check for this OS. */
#endif /* WIN32 */
/* local */