From: Howard Chu Date: Thu, 13 Oct 2011 02:19:52 +0000 (-0700) Subject: Define S_IWRITE if needed X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df4738f0710094e6f519e727c0be456a5f53c3d3;p=openldap Define S_IWRITE if needed --- diff --git a/servers/slapd/slaptest.c b/servers/slapd/slaptest.c index 5bd8d16848..76cfe7df4d 100644 --- a/servers/slapd/slaptest.c +++ b/servers/slapd/slaptest.c @@ -38,6 +38,10 @@ #include "slapcommon.h" +#ifndef S_IWRITE +#define S_IWRITE S_IWUSR +#endif + static int test_file( const char *fname, const char *ftype ) {