]> git.sur5r.net Git - openldap/commitdiff
Define S_IWRITE if needed
authorHoward Chu <hyc@openldap.org>
Thu, 13 Oct 2011 02:19:52 +0000 (19:19 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 13 Oct 2011 02:19:52 +0000 (19:19 -0700)
servers/slapd/slaptest.c

index 5bd8d16848fa4c5335ed66905122e76feff9736e..76cfe7df4dab99b4fe73b1725d48ff86bd00b52a 100644 (file)
 
 #include "slapcommon.h"
 
+#ifndef S_IWRITE
+#define S_IWRITE       S_IWUSR
+#endif
+
 static int
 test_file( const char *fname, const char *ftype )
 {