X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Fnfs.c;h=0c8ff79857f84670e2f9dc48891d4f03c7f88c8b;hb=41d82d7d825b9b4e73bb227f5b2fafa86067cba0;hp=5b655cb3369e2aeea6f2a4f55f4ca1be320132a7;hpb=f390f181575faba29cdecdbd418bd646de26cd20;p=deb_libnfs.git diff --git a/nfs/nfs.c b/nfs/nfs.c index 5b655cb..0c8ff79 100644 --- a/nfs/nfs.c +++ b/nfs/nfs.c @@ -15,6 +15,19 @@ 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 + #include #include #include