X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Fnfs.c;h=9d8086f7ca1e5611ad907128526f2eb2938b5c3f;hb=fcc42bfe8501f9f4c5b69d19f5d196e5348c4c81;hp=8e8baf4370ee8c10401e1ccc00cb2780f9d95645;hpb=ea98629aef9428ca270a76b77e8de49e523be0e4;p=deb_libnfs.git diff --git a/nfs/nfs.c b/nfs/nfs.c index 8e8baf4..9d8086f 100644 --- a/nfs/nfs.c +++ b/nfs/nfs.c @@ -15,22 +15,14 @@ along with this program; if not, see . */ -#if defined(WIN32) -#include -#define S_IRUSR 0000400 -#define S_IWUSR 0000200 -#define S_IXUSR 0000100 -#define S_IRGRP 0000040 -#define S_IWGRP 0000020 -#define S_IXGRP 0000010 -#define S_IROTH 0000004 -#define S_IWOTH 0000002 -#define S_IXOTH 0000001 -#endif +#ifdef WIN32 +#include "win32_compat.h" +#else +#include +#endif/*WIN32*/ #include #include -#include #include #include #include @@ -39,8 +31,6 @@ #include "libnfs-private.h" #include "libnfs-raw-nfs.h" - - char *nfsstat3_to_str(int error) { switch (error) {