diff --git a/src/lck-posix.c b/src/lck-posix.c index 346b62dc..285a9e67 100644 --- a/src/lck-posix.c +++ b/src/lck-posix.c @@ -15,7 +15,10 @@ #if !(defined(_WIN32) || defined(_WIN64)) /* !Windows LCK-implementation */ #include "internals.h" + +#if MDBX_LOCKING == MDBX_LOCKING_SYSV #include +#endif /* MDBX_LOCKING == MDBX_LOCKING_SYSV */ /*----------------------------------------------------------------------------*/ /* global constructor/destructor */