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 7d094779f38a4d538348772d584b8d36270ab52d..8126cb38af4837989fe4eb141b9a847034acfb61 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 e644e7c822c8c982c2cdfdaecc7910b9c78d8338..3e326ba071a7e1c25c079839d10b7241d68ec9b3 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>