Index: openldap-2.4.12/servers/slapd/overlays/collect.c
===================================================================
--- openldap-2.4.12.orig/servers/slapd/overlays/collect.c
+++ openldap-2.4.12/servers/slapd/overlays/collect.c
@@ -30,6 +30,7 @@
 
 #include "slap.h"
 #include "config.h"
+#include "lutil.h"
 
 /* This is a cheap hack to implement a collective attribute.
  *