X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=f2c9ebf481387dd8cdd2c39dde00347f58dae8c2;hb=00748f36c57324ccc2cb21ac9af45d15821cf675;hp=fe711ac5f58ccce6656c93356242a869f5adeb9a;hpb=2142af5d472ae35afca3b6b2c0da26974e8b11b3;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index fe711ac..f2c9ebf 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -17,12 +17,14 @@ /* * High level api to nfs filesystems */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef WIN32 #include "win32_compat.h" #else #include -#include -#include #include #include #include @@ -40,14 +42,18 @@ #endif /*AROS*/ #endif /*WIN32*/ -#ifdef HAVE_CONFIG_H -#include "config.h" +#ifdef HAVE_SYS_IOCTL_H +#include #endif #ifdef HAVE_POLL_H #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #include #include #include