Fix OSX compilation

This commit is contained in:
jdgleaver 2020-12-14 17:02:05 +00:00
parent fe64c05ce6
commit a8c1a1ed68

View File

@ -3,6 +3,10 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#ifndef _WIN32
# include <unistd.h>
#endif
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1