X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=examples%2Fnfsclient-async.c;h=739f220ea5a9225b7100eeb189b16956e7a2ec5e;hp=d8420e14f13dad0d93c2523256943fd82a21e60e;hb=2db42ce2fc89bc88050564037688888bbb8876e9;hpb=7f0242ca9a109c6825646609b8eda0ce0b866b67 diff --git a/examples/nfsclient-async.c b/examples/nfsclient-async.c index d8420e1..739f220 100644 --- a/examples/nfsclient-async.c +++ b/examples/nfsclient-async.c @@ -17,6 +17,23 @@ /* Example program using the highlevel async interface. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef WIN32 +#include "win32_compat.h" +#else +#include +#endif + +#ifdef HAVE_POLL_H +#include +#endif + +#ifdef HAVE_UNISTD_H +#include +#endif #define SERVER "10.1.1.27" #define EXPORT "/VIRTUAL" @@ -27,10 +44,7 @@ #include #include #include -#include -#include #include -#include #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h"