summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libsystemd-bus/sd-dns.c7
-rw-r--r--src/libsystemd-bus/test-dns.c4
2 files changed, 0 insertions, 11 deletions
diff --git a/src/libsystemd-bus/sd-dns.c b/src/libsystemd-bus/sd-dns.c
index 7d094779f3..8126cb38af 100644
--- a/src/libsystemd-bus/sd-dns.c
+++ b/src/libsystemd-bus/sd-dns.c
@@ -19,10 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <assert.h>
#include <fcntl.h>
#include <signal.h>
@@ -43,10 +39,7 @@
#include <sys/resource.h>
#include <stdint.h>
#include <pthread.h>
-
-#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
-#endif
#include "sd-dns.h"
#include "util.h"
diff --git a/src/libsystemd-bus/test-dns.c b/src/libsystemd-bus/test-dns.c
index e644e7c822..3e326ba071 100644
--- a/src/libsystemd-bus/test-dns.c
+++ b/src/libsystemd-bus/test-dns.c
@@ -19,10 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>