X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-raw.c;h=2d5104f26c028f236f04fc417229de865b0b4ae5;hb=67a9f57e67c3b2c147969c752532fd55eb99259c;hp=19881d0d5809c251544d2956c27d9554501ac890;hpb=0118a5f0de4a611963f0fe669f450167a7569694;p=deb_libnfs.git diff --git a/examples/nfsclient-raw.c b/examples/nfsclient-raw.c index 19881d0..2d5104f 100644 --- a/examples/nfsclient-raw.c +++ b/examples/nfsclient-raw.c @@ -18,18 +18,25 @@ /* Example program using the lowlevel raw interface. * This allow accurate control of the exact commands that are being used. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef WIN32 #include "win32_compat.h" -#else -#include #endif #define SERVER "10.1.1.27" #define EXPORT "/shared" +#ifdef HAVE_POLL_H +#include +#endif + #include #include #include +#include +#include "libnfs-zdr.h" #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h"