1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

build fix

This commit is contained in:
Eric Petit 2009-12-16 07:47:04 +00:00
parent 122d69d013
commit a91c5e44e3

View file

@ -15,7 +15,9 @@
#ifdef HAVE_POSIX_FADVISE #ifdef HAVE_POSIX_FADVISE
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#include <fcntl.h> /* posix_fadvise() */ #endif
#if defined(HAVE_POSIX_FADVISE) || defined(SYS_DARWIN)
#include <fcntl.h> /* posix_fadvise() / fcntl() */
#endif #endif
#include <openssl/sha.h> #include <openssl/sha.h>