X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fslaptest.c;h=995b603f4044c99bb457b8562ac5c41e7f0da471;hb=26d6e699aac1f2adc77f2aad3e299b5475941dfc;hp=5bd8d16848fa4c5335ed66905122e76feff9736e;hpb=8917b774f71562cdfaaddd7641889ab79ef95273;p=openldap diff --git a/servers/slapd/slaptest.c b/servers/slapd/slaptest.c index 5bd8d16848..995b603f40 100644 --- a/servers/slapd/slaptest.c +++ b/servers/slapd/slaptest.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2004-2011 The OpenLDAP Foundation. + * Copyright 2004-2013 The OpenLDAP Foundation. * Portions Copyright 2004 Pierangelo Masarati. * All rights reserved. * @@ -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 ) {