summaryrefslogtreecommitdiffstats
path: root/src/rfkill
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-03-27 11:32:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-03-27 11:53:12 +0100
commitca78ad1de987b800978622a22ac6c5caf628a037 (patch)
tree9445e8e303fbb8f52aaccf6cd280b7cd957dc97e /src/rfkill
parenttest-fileio: do not use variable before checking return value (diff)
downloadsystemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.xz
systemd-ca78ad1de987b800978622a22ac6c5caf628a037.zip
headers: remove unneeded includes from util.h
This means we need to include many more headers in various files that simply included util.h before, but it seems cleaner to do it this way.
Diffstat (limited to 'src/rfkill')
-rw-r--r--src/rfkill/rfkill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c
index 8a92a4de6e..16610cd476 100644
--- a/src/rfkill/rfkill.c
+++ b/src/rfkill/rfkill.c
@@ -1,7 +1,11 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <fcntl.h>
#include <linux/rfkill.h>
#include <poll.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "sd-daemon.h"
#include "sd-device.h"