X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=cfeb5759989ae3835172001e6719efca138758e0;hb=41d82d7d825b9b4e73bb227f5b2fafa86067cba0;hp=5d46e70b935d445166f4c2d8d7fed64f307c22fa;hpb=b3740e09deeb7f9b2b361e4cb2e0c14547cb23ff;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 5d46e70..cfeb575 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -18,22 +18,38 @@ * High level api to nfs filesystems */ +#if defined (WIN32) +#include +#define DllExport +#else +#include +#include +#include +#include +#include +#include +#include +#include +#endif + +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + #include #include #include -#include #include #include -#include -#include -#include #include #include #include #include #include #include +#ifdef HAVE_SYS_SOCKIO_H +#include +#endif #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h" @@ -1171,7 +1187,7 @@ void mount_free_export_list(struct exportnode *exports) - +#if !defined(WIN32) void free_nfs_srvr_list(struct nfs_server_list *srv) { while (srv != NULL) { @@ -1377,3 +1393,4 @@ struct nfs_server_list *nfs_find_local_servers(void) return data.srvrs; } +#endif