ZDR: New builtin replacement for RPC/XDR called ZDR
[deb_libnfs.git] / examples / nfsclient-sync.c
index 4f1d2bc4e2f7997cff514e0089189346efd6c876..aeb3eedf4b6ecca8082a51d70234bca67175321e 100644 (file)
@@ -48,8 +48,8 @@ WSADATA wsaData;
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include "libnfs-zdr.h"
 #include "libnfs.h"
-#include <rpc/rpc.h>            /* for authunix_create() */
 #include "libnfs-raw.h"
 #include "libnfs-raw-mount.h"
 
@@ -82,7 +82,7 @@ int main(int argc _U_, char *argv[] _U_)
 {
        struct nfs_context *nfs;
        int i, ret;
-       off_t offset;
+       uint64_t offset;
        struct client client;
        struct stat st;
        struct nfsfh  *nfsfh;