]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/rww.c
#include <ac/string.h>, to get strlen(), strncmp() and strncasecmp().
[openldap] / servers / slapd / back-monitor / rww.c
index 68d87c81181ea9373f91e71ba5a019a0c9fb69b2..0f7cf75eb3b6681df08e9bb323674626cb87eac3 100644 (file)
@@ -34,6 +34,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <ac/string.h>
 
 #include "slap.h"
 #include "lutil.h"
@@ -48,7 +49,7 @@ monitor_subsys_rww_init(
        
        Entry                   *e, *e_tmp, *e_conn;
        struct monitorentrypriv *mp;
-       char                    buf[1024];
+       char                    buf[ BACKMONITOR_BUFSIZE ];
        struct berval           bv;
 
        assert( be != NULL );