diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 14:06:32 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 20:47:38 +0100 |
commit | 0a6f50c0afdfc434b492493bd9efab20cbee8623 (patch) | |
tree | 46f6a16167472de91b2773685cf9506f0576e493 /src/libsystemd | |
parent | c1ff5570f4a04bb9aedea444c12dce81679224ec (diff) |
include <poll.h> instead of <sys/poll.h>
include-what-you-use automatically does this and it makes finding
unnecessary harder to spot. The only content of poll.h is a include
of sys/poll.h so should be harmless.
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-bus/bus-socket.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/sd-bus.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-login/sd-login.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-login/test-login.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-network/sd-network.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-resolve/sd-resolve.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c index d3eb834810..52883fa8cd 100644 --- a/src/libsystemd/sd-bus/bus-socket.c +++ b/src/libsystemd/sd-bus/bus-socket.c @@ -23,7 +23,7 @@ #include <assert.h> #include <stdlib.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include <byteswap.h> #include "util.h" diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 1bf77e46fb..cac9b65601 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -24,7 +24,7 @@ #include <stdlib.h> #include <unistd.h> #include <netdb.h> -#include <sys/poll.h> +#include <poll.h> #include <byteswap.h> #include <sys/mman.h> #include <pthread.h> diff --git a/src/libsystemd/sd-login/sd-login.c b/src/libsystemd/sd-login/sd-login.c index c171405a65..f71749f72d 100644 --- a/src/libsystemd/sd-login/sd-login.c +++ b/src/libsystemd/sd-login/sd-login.c @@ -23,7 +23,7 @@ #include <string.h> #include <errno.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include "util.h" #include "cgroup-util.h" diff --git a/src/libsystemd/sd-login/test-login.c b/src/libsystemd/sd-login/test-login.c index 28f88a1570..2802e8246d 100644 --- a/src/libsystemd/sd-login/test-login.c +++ b/src/libsystemd/sd-login/test-login.c @@ -19,7 +19,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sys/poll.h> +#include <poll.h> #include <string.h> #include "systemd/sd-login.h" diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c index c735cac3b1..c4713feb5d 100644 --- a/src/libsystemd/sd-network/sd-network.c +++ b/src/libsystemd/sd-network/sd-network.c @@ -24,7 +24,7 @@ #include <string.h> #include <errno.h> #include <sys/inotify.h> -#include <sys/poll.h> +#include <poll.h> #include <net/if.h> #include "util.h" diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c index fea695fcf9..6448280c4f 100644 --- a/src/libsystemd/sd-resolve/sd-resolve.c +++ b/src/libsystemd/sd-resolve/sd-resolve.c @@ -40,7 +40,7 @@ #include <stdint.h> #include <pthread.h> #include <sys/prctl.h> -#include <sys/poll.h> +#include <poll.h> #include "util.h" #include "list.h" |