X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=examples%2Fnfsclient-async.c;h=739f220ea5a9225b7100eeb189b16956e7a2ec5e;hp=d3869593762f5dae89c136e74386d9d05b839368;hb=2db42ce2fc89bc88050564037688888bbb8876e9;hpb=f816bf4c7641071d83ed2c796c93ce0ddba9b3b4 diff --git a/examples/nfsclient-async.c b/examples/nfsclient-async.c index d386959..739f220 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,8 +44,7 @@ #include #include #include -#include -#include "libnfs-zdr.h" +#include #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h"