summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-11 14:59:56 +0000
committerTom Gundersen <teg@jklm.no>2014-01-11 15:03:25 +0000
commit47917e4a4a8f1ee00bb7de3e83f7bfd849abf337 (patch)
treed43c2bbe07c5c4ed01235756badc2ffa48bfd61a /src
parentedc6f2f56cc82da68510db469e2e4d023d7090fb (diff)
sd-dns: simplify headers
As noted by Lennart: HAVE_CONFIG_H is done implicitly and sys/prctl.h is mandatory.
Diffstat (limited to 'src')
-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>