From a2e0fad77973cc81b7598fabc454ea0b768c2edd 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 c7fe59541fb..0612c8b06df 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_VERSION "2" #define CONFDB_VERSION_INT 2 @@ -45,6 +49,8 @@ "version: "CONFDB_VERSION"\n" \ "\n" +struct confdb_ctx; + errno_t confdb_setup(TALLOC_CTX *mem_ctx, const char *cdb_file, const char *config_file,