X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=examples%2Fnfsclient-sync.c;h=449d8e3342d8abaf1764bf8b3d095a6315e8930a;hb=52674a70ea258a3789d7997911b6e55a5bfaeebb;hp=00e4c88042eba4a3e50553acb8e79460eb11c03d;hpb=eecdc4f3cd5c464ae02823a823993e720664e465;p=deb_libnfs.git diff --git a/examples/nfsclient-sync.c b/examples/nfsclient-sync.c index 00e4c88..449d8e3 100644 --- a/examples/nfsclient-sync.c +++ b/examples/nfsclient-sync.c @@ -17,7 +17,14 @@ /* Example program using the highlevel sync interface */ - +#ifdef WIN32 +#include "win32_compat.h" +#else +#include +#include +#include +#endif + #define SERVER "10.1.1.27" #define EXPORT "/VIRTUAL" #define NFSFILE "/BOOKS/Classics/Dracula.djvu.truncated" @@ -28,8 +35,6 @@ #define _GNU_SOURCE #if defined(WIN32) -#include -typedef int off_t; #pragma comment(lib, "ws2_32.lib") WSADATA wsaData; #else