diff --git a/src/xpdev/filewrap.c b/src/xpdev/filewrap.c index f0bb30adae83ed16bee2f1c7a305e92dd75245e2..db64271a9063c90536b8cf8a9e32ec7505d74fd0 100644 --- a/src/xpdev/filewrap.c +++ b/src/xpdev/filewrap.c @@ -412,6 +412,7 @@ FILE *_fsopen(const char *pszFilename, const char *pszMode, int shmode) #endif #ifdef _WIN32 +#include <sys/locking.h> /* _locking */ int xp_lockfile(int file, off_t offset, off_t size, bool block) { int i;