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 Sep 28, 2023
1 parent 1e1c900 commit c1f4bd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/confdb/confdb_setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#ifndef CONFDB_SETUP_H_
#define CONFDB_SETUP_H_

#include <talloc.h>

#include "util/util_errors.h"

#define CONFDB_BASE_LDIF \
"dn: @ATTRIBUTES\n" \
"cn: CASE_INSENSITIVE\n" \
Expand All @@ -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,
Expand Down

0 comments on commit c1f4bd2

Please sign in to comment.