Merge pull request #47 from Memphiz/win32fix3
[deb_libnfs.git] / lib / libnfs.c
index ed6cb2313e261351d7e3035f8ae51f3a14b65157..ca8ed379de8d529a9f3609e419fc740f629c37d3 100644 (file)
@@ -1027,7 +1027,11 @@ static void nfs_stat_1_cb(struct rpc_context *rpc, int status, void *command_dat
        GETATTR3res *res;
        struct nfs_cb_data *data = private_data;
        struct nfs_context *nfs = data->nfs;
+#ifdef WIN32
+  struct __stat64 st;
+#else
        struct stat st;
+#endif
 
        assert(rpc->magic == RPC_CONTEXT_MAGIC);