chiark / gitweb /
sd-dns: simplify headers
authorTom Gundersen <teg@jklm.no>
Sat, 11 Jan 2014 14:59:56 +0000 (14:59 +0000)
committerTom Gundersen <teg@jklm.no>
Sat, 11 Jan 2014 15:03:25 +0000 (15:03 +0000)
As noted by Lennart: HAVE_CONFIG_H is done implicitly and sys/prctl.h is
mandatory.

src/libsystemd-bus/sd-dns.c
src/libsystemd-bus/test-dns.c

index 7d09477..8126cb3 100644 (file)
   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>
 #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"
index e644e7c..3e326ba 100644 (file)
   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>