Imported Upstream version 1.2.0
[deb_libnfs.git] / examples / nfsclient-async.c
index d8420e14f13dad0d93c2523256943fd82a21e60e..c5d0df1d523069c61ec28d3668c234f066e4ba48 100644 (file)
 
 /* Example program using the highlevel async interface.
  */
-
+#ifdef WIN32
+#include "win32_compat.h"
+#else
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <poll.h>
+#endif
 #define SERVER "10.1.1.27"
 #define EXPORT "/VIRTUAL"
 #define NFSFILE "/BOOKS/Classics/Dracula.djvu"
 #include <stdlib.h>
 #include <stdint.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <unistd.h>
-#include <fcntl.h>
-#include <poll.h>
 #include "libnfs.h"
 #include "libnfs-raw.h"
 #include "libnfs-raw-mount.h"