X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=6f73a7e78e66a64223d975fcb636e6ad16412c38;hb=4b1097cde2eca9366c833805a529c23f7a7b02d6;hp=510772fa1efe6f7e889ac7af2e7b1277157475a7;hpb=647d2ea11cccea1e96629142abbe25de8ef1c7b5;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 510772f..6f73a7e 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -18,22 +18,31 @@ * 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 @@ -1174,7 +1183,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) { @@ -1380,3 +1389,4 @@ struct nfs_server_list *nfs_find_local_servers(void) return data.srvrs; } +#endif