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 27, 2023
1 parent 6e7d9db commit a2e0fad
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_VERSION "2"
#define CONFDB_VERSION_INT 2

Expand All @@ -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,
Expand Down

0 comments on commit a2e0fad

Please sign in to comment.