Skip to content

Commit

Permalink
CONFDB: Fixed some missing dependencies in a header file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aplopez committed Oct 6, 2023
1 parent 2e2f571 commit 80435e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/confdb/confdb_setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#define CONFDB_SETUP_H_

#include <stdbool.h>
#include <talloc.h>

#include "util/util_errors.h"

#define CONFDB_BASE_LDIF \
"dn: @ATTRIBUTES\n" \
Expand All @@ -39,6 +42,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,
Expand Down

0 comments on commit 80435e6

Please sign in to comment.