X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-sync.c;h=70bd77a1757c18dca5cd536871afc7a8380f1bf5;hb=00748f36c57324ccc2cb21ac9af45d15821cf675;hp=4bd2c0b942714b26d4c72ee8305842ecdec1b5f2;hpb=a41dbfe25ad6eebb1a5bc976fc2ed7f8591f07d2;p=deb_libnfs.git diff --git a/examples/nfsclient-sync.c b/examples/nfsclient-sync.c index 4bd2c0b..70bd77a 100644 --- a/examples/nfsclient-sync.c +++ b/examples/nfsclient-sync.c @@ -20,20 +20,26 @@ /* Example program using the highlevel sync interface */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef WIN32 #include "win32_compat.h" #pragma comment(lib, "ws2_32.lib") WSADATA wsaData; #else #include -#include #include -#include #ifndef AROS #include #endif #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef AROS #include "aros_compat.h" #endif