summaryrefslogtreecommitdiffstats
path: root/src/libsystemd
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 10:22:48 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-03 16:30:32 +0100
commit92133d287842dbd7c6d5efc8bd850a47221ebddd (patch)
tree75ad67dfa4789de1ea9eed4939cdf65ded8d7061 /src/libsystemd
parenttree-wide: drop mntent.h when fstab-util.h is included (diff)
downloadsystemd-92133d287842dbd7c6d5efc8bd850a47221ebddd.tar.xz
systemd-92133d287842dbd7c6d5efc8bd850a47221ebddd.zip
tree-wide: drop socket.h when socket-util.h is included
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-bus/bus-internal.h1
-rw-r--r--src/libsystemd/sd-daemon/sd-daemon.c1
-rw-r--r--src/libsystemd/sd-device/device-monitor.c1
-rw-r--r--src/libsystemd/sd-netlink/sd-netlink.c1
-rw-r--r--src/libsystemd/sd-resolve/test-resolve.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
index 6d2c1e8405..352a419e25 100644
--- a/src/libsystemd/sd-bus/bus-internal.h
+++ b/src/libsystemd/sd-bus/bus-internal.h
@@ -2,7 +2,6 @@
#pragma once
#include <pthread.h>
-#include <sys/socket.h>
#include "sd-bus.h"
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c
index 93984d1c59..ff71194331 100644
--- a/src/libsystemd/sd-daemon/sd-daemon.c
+++ b/src/libsystemd/sd-daemon/sd-daemon.c
@@ -8,7 +8,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <unistd.h>
diff --git a/src/libsystemd/sd-device/device-monitor.c b/src/libsystemd/sd-device/device-monitor.c
index 52e51fdd66..42753abe08 100644
--- a/src/libsystemd/sd-device/device-monitor.c
+++ b/src/libsystemd/sd-device/device-monitor.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <linux/filter.h>
#include <linux/netlink.h>
-#include <sys/socket.h>
#include <unistd.h>
#include "sd-device.h"
diff --git a/src/libsystemd/sd-netlink/sd-netlink.c b/src/libsystemd/sd-netlink/sd-netlink.c
index 013e8ae957..87350e8591 100644
--- a/src/libsystemd/sd-netlink/sd-netlink.c
+++ b/src/libsystemd/sd-netlink/sd-netlink.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <poll.h>
-#include <sys/socket.h>
#include "sd-netlink.h"
diff --git a/src/libsystemd/sd-resolve/test-resolve.c b/src/libsystemd/sd-resolve/test-resolve.c
index 3446f0f778..38a78ee8a2 100644
--- a/src/libsystemd/sd-resolve/test-resolve.c
+++ b/src/libsystemd/sd-resolve/test-resolve.c
@@ -5,7 +5,6 @@
#include <netinet/in.h>
#include <resolv.h>
#include <stdio.h>
-#include <sys/socket.h>
#include "sd-resolve.h"