From: Tom Gundersen Date: Sat, 11 Jan 2014 14:59:56 +0000 (+0000) Subject: sd-dns: simplify headers X-Git-Tag: v209~473 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=47917e4a4a8f1ee00bb7de3e83f7bfd849abf337;p=elogind.git sd-dns: simplify headers As noted by Lennart: HAVE_CONFIG_H is done implicitly and sys/prctl.h is mandatory. --- diff --git a/src/libsystemd-bus/sd-dns.c b/src/libsystemd-bus/sd-dns.c index 7d094779f..8126cb38a 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 e644e7c82..3e326ba07 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