diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 22ff945427..636ce7ee6b 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -46,6 +46,10 @@ struct ldif_info { ldap_pvt_thread_mutex_t li_mutex; }; +#ifdef _WIN32 +#define mkdir(a,b) mkdir(a) +#endif + #define LDIF ".ldif" #define IX_DNL '{'