- get the 1.6.0 sources: https://github.com/downloads/sahlberg/libnfs/libnfs-1.6.0.tar.gz
- apply win32 fixes: https://github.com/sahlberg/libnfs/commit/67a9f57e67c3b2c147969c752532fd55eb99259c.patch
- apply the build fix: https://github.com/sahlberg/libnfs/pull/34.patch (this one might fail in patching the comment header of .sln file depending on the used VS verion - ignore)
- apply another fix https://github.com/sahlberg/libnfs/pull/36.patch (missing define _USE_32BIT_TIME_T in release builds)
- apply antoher fix https://github.com/sahlberg/libnfs/pull/47.patch (force usage of __stat64)
- apply antoher fix https://github.com/sahlberg/libnfs/pull/47.patch (force usage of __stat64)
- apply another fix https://github.com/sahlberg/libnfs/commit/463d59bf8e5ff1a3ac27ab4fedf77b237394d1a6.patch
- apply another fix https://github.com/sahlberg/libnfs/commit/479302f72943be9f45d6b18c82c5502be12efa5a.patch (added nfs_stat_64 struct)
- build libnfs.dll with \libnfs\win32\libnfs\libnfs.vcxproj

- current tree with those patches applied is here:

https://github.com/Memphiz/libnfs/commits/xbmcgotham