From: Howard Chu Date: Wed, 28 Dec 2016 18:32:14 +0000 (+0000) Subject: ITS#8554 kFreeBSD is like BSD X-Git-Tag: archive/raspbian/2.4.46+dfsg-5+rpi1^2^2^2^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=32d23e61c05d6b7710ec88881be32c2040fbd37c;p=openldap.git ITS#8554 kFreeBSD is like BSD Doesn't have POSIX robust mutexes - GNU userland on BSD kernel Gbp-Pq: Name ITS-8554-kFreeBSD-is-like-BSD.patch --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index d2e81e4e..629680a8 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -115,7 +115,7 @@ typedef SSIZE_T ssize_t; #include /* defines BYTE_ORDER on HPUX and Solaris */ #endif -#if defined(__APPLE__) || defined (BSD) +#if defined(__APPLE__) || defined (BSD) || defined(__FreeBSD_kernel__) # define MDB_USE_POSIX_SEM 1 # define MDB_FDATASYNC fsync #elif defined(ANDROID)