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 ) {