From 47917e4a4a8f1ee00bb7de3e83f7bfd849abf337 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 11 Jan 2014 14:59:56 +0000 Subject: sd-dns: simplify headers As noted by Lennart: HAVE_CONFIG_H is done implicitly and sys/prctl.h is mandatory. --- src/libsystemd-bus/sd-dns.c | 7 ------- src/libsystemd-bus/test-dns.c | 4 ---- 2 files changed, 11 deletions(-) (limited to 'src') 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 . ***/ -#ifdef HAVE_CONFIG_H -#include -#endif - #include #include #include @@ -43,10 +39,7 @@ #include #include #include - -#ifdef HAVE_SYS_PRCTL_H #include -#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 . ***/ -#if HAVE_CONFIG_H -#include -#endif - #include #include #include -- cgit v1.2.3-54-g00ecf