From c1f4bd2a3f1b21b1008746aac4315d2082c876c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez?= Date: Wed, 20 Sep 2023 13:19:00 +0200 Subject: [PATCH] CONFDB: Fixed some missing dependencies in a header file confdb_setup.h did not include all the header files it requires. So far those files happened to be included before this file, so no compilation error occurred, but the problem was hiding in the shadows. --- src/confdb/confdb_setup.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/confdb/confdb_setup.h b/src/confdb/confdb_setup.h index d12441165c4..53d8ec17d6f 100644 --- a/src/confdb/confdb_setup.h +++ b/src/confdb/confdb_setup.h @@ -22,6 +22,10 @@ #ifndef CONFDB_SETUP_H_ #define CONFDB_SETUP_H_ +#include + +#include "util/util_errors.h" + #define CONFDB_BASE_LDIF \ "dn: @ATTRIBUTES\n" \ "cn: CASE_INSENSITIVE\n" \ @@ -37,6 +41,8 @@ "@LIST: server_sort\n" \ "\n" +struct confdb_ctx; + errno_t confdb_setup(TALLOC_CTX *mem_ctx, const char *cdb_file, const char *config_file,