]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10515 back-ldap: fix monitor.c includes
authorHoward Chu <hyc@openldap.org>
Mon, 1 Jun 2026 15:13:04 +0000 (16:13 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 1 Jun 2026 15:13:04 +0000 (16:13 +0100)
Must include slap.h otherwise later back-monitor.h include of
ldap_pvt.h will be out of order and cause redefinition of clock_gettime()

servers/slapd/back-ldap/monitor.c

index c52dda7da120e7e367aa53ffcae1a9afcb8c0620..488e3adf69a5e399c5643654eaa464be81a55c0a 100644 (file)
@@ -30,6 +30,7 @@
 #include <ac/errno.h>
 #include <sys/stat.h>
 #include "lutil.h"
+#include "slap.h"
 #include "back-ldap.h"
 
 #include "slap-config.h"