diff --git a/src/core/api/system/dns_resolver/load.c b/src/core/api/system/dns_resolver/load.c index 30c9f90..cb3a6b8 100644 --- a/src/core/api/system/dns_resolver/load.c +++ b/src/core/api/system/dns_resolver/load.c @@ -19,7 +19,9 @@ #include "core/data/system/dns_resolver/search/list.h" #include "core/data/system/ip_address.h" +#ifdef SYSTEMD #include +#endif #include diff --git a/src/core/api/system/dns_resolver/store.c b/src/core/api/system/dns_resolver/store.c index 72dcf63..544f92e 100644 --- a/src/core/api/system/dns_resolver/store.c +++ b/src/core/api/system/dns_resolver/store.c @@ -13,7 +13,9 @@ #include "store.h" #include "core/common.h" +#ifdef SYSTEMD #include +#endif #include