X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-async.c;h=d2b92e3297e6221f0d485b4a8e7ea60a6c371f2b;hb=refs%2Ftags%2Fupstream%2F1.9.3;hp=c5d0df1d523069c61ec28d3668c234f066e4ba48;hpb=fab61e3d0384e61553b39860b923d41bc0cf17b1;p=deb_libnfs.git diff --git a/examples/nfsclient-async.c b/examples/nfsclient-async.c index c5d0df1..d2b92e3 100644 --- a/examples/nfsclient-async.c +++ b/examples/nfsclient-async.c @@ -17,14 +17,24 @@ /* Example program using the highlevel async interface. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef WIN32 #include "win32_compat.h" #else #include -#include -#include #endif +#ifdef HAVE_POLL_H +#include +#endif + +#ifdef HAVE_UNISTD_H +#include +#endif + #define SERVER "10.1.1.27" #define EXPORT "/VIRTUAL" #define NFSFILE "/BOOKS/Classics/Dracula.djvu" @@ -34,7 +44,8 @@ #include #include #include -#include +#include +#include "libnfs-zdr.h" #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h"