summaryrefslogtreecommitdiff
path: root/src/systemd-shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-shutdown')
-rw-r--r--src/systemd-shutdown/shutdown.c3
-rw-r--r--src/systemd-shutdown/umount.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/systemd-shutdown/shutdown.c b/src/systemd-shutdown/shutdown.c
index f42a910ad4..bf74b5ec99 100644
--- a/src/systemd-shutdown/shutdown.c
+++ b/src/systemd-shutdown/shutdown.c
@@ -19,7 +19,6 @@
#include <errno.h>
#include <getopt.h>
-#include <linux/reboot.h>
#include <signal.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -29,6 +28,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include <linux/reboot.h>
+
#include "basic/alloc-util.h"
#include "basic/cgroup-util.h"
#include "basic/def.h"
diff --git a/src/systemd-shutdown/umount.c b/src/systemd-shutdown/umount.c
index 3b1b018283..0079f8ec78 100644
--- a/src/systemd-shutdown/umount.c
+++ b/src/systemd-shutdown/umount.c
@@ -19,12 +19,13 @@
#include <errno.h>
#include <fcntl.h>
-#include <linux/dm-ioctl.h>
-#include <linux/loop.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/swap.h>
+#include <linux/dm-ioctl.h>
+#include <linux/loop.h>
+
#include <libudev.h>
#include "basic/alloc-util.h"