/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2004-2009 The OpenLDAP Foundation.
+ * Copyright 2004-2011 The OpenLDAP Foundation.
* Portions Copyright 2004 Pierangelo Masarati.
* All rights reserved.
*
#include "slapcommon.h"
+#ifndef S_IWRITE
+#define S_IWRITE S_IWUSR
+#endif
+
static int
test_file( const char *fname, const char *ftype )
{