mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
Remove patches/sysrepo-plugin-system
Not used anymore
This commit is contained in:
-47
@@ -1,47 +0,0 @@
|
||||
From 1f92833303f4aa662737191ec68522f0105f2bb2 Mon Sep 17 00:00:00 2001
|
||||
From: Joachim Wiberg <troglobit@gmail.com>
|
||||
Date: Wed, 1 Feb 2023 13:09:32 +0100
|
||||
Subject: [PATCH] Fix build on non-systemd systems
|
||||
Organization: Addiva Elektronik
|
||||
|
||||
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
|
||||
---
|
||||
src/plugin/api/system/dns_resolver/load.c | 4 ++--
|
||||
src/plugin/api/system/dns_resolver/store.c | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/plugin/api/system/dns_resolver/load.c b/src/plugin/api/system/dns_resolver/load.c
|
||||
index 6ec1500..d7e8653 100644
|
||||
--- a/src/plugin/api/system/dns_resolver/load.c
|
||||
+++ b/src/plugin/api/system/dns_resolver/load.c
|
||||
@@ -18,9 +18,9 @@
|
||||
#include "plugin/data/system/dns_resolver/server/list.h"
|
||||
#include "plugin/data/system/dns_resolver/search/list.h"
|
||||
#include "plugin/data/system/ip_address.h"
|
||||
-
|
||||
+#ifdef SYSTEMD
|
||||
#include <systemd/sd-bus.h>
|
||||
-
|
||||
+#endif
|
||||
#include <sysrepo.h>
|
||||
|
||||
#include <utlist.h>
|
||||
diff --git a/src/plugin/api/system/dns_resolver/store.c b/src/plugin/api/system/dns_resolver/store.c
|
||||
index 790be71..c3e49e3 100644
|
||||
--- a/src/plugin/api/system/dns_resolver/store.c
|
||||
+++ b/src/plugin/api/system/dns_resolver/store.c
|
||||
@@ -12,9 +12,9 @@
|
||||
*/
|
||||
#include "store.h"
|
||||
#include "plugin/common.h"
|
||||
-
|
||||
+#ifdef SYSTEMD
|
||||
#include <systemd/sd-bus.h>
|
||||
-
|
||||
+#endif
|
||||
#include <sysrepo.h>
|
||||
|
||||
#include <utlist.h>
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Reference in New Issue
Block a user