Skip to content

Commit

Permalink
Fix build on non-systemd systems
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Feb 13, 2023
1 parent 618b1d0 commit eb24f1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/api/system/dns_resolver/load.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include "core/data/system/dns_resolver/search/list.h"
#include "core/data/system/ip_address.h"

#ifdef SYSTEMD
#include <systemd/sd-bus.h>
#endif

#include <sysrepo.h>

Expand Down
2 changes: 2 additions & 0 deletions src/core/api/system/dns_resolver/store.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
#include "store.h"
#include "core/common.h"

#ifdef SYSTEMD
#include <systemd/sd-bus.h>
#endif

#include <sysrepo.h>

Expand Down

0 comments on commit eb24f1a

Please sign in to comment.