summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/device.c3
-rw-r--r--src/core/swap.c3
-rw-r--r--src/core/umount.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 5b7130ba97..bcd4d1146b 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -22,10 +22,11 @@
#include <errno.h>
#include <sys/epoll.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "dbus-device.h"
#include "device.h"
-#include "libudev.h"
#include "log.h"
#include "parse-util.h"
#include "path-util.h"
diff --git a/src/core/swap.c b/src/core/swap.c
index f9e1ebad49..ee0838e676 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -24,6 +24,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "dbus-swap.h"
#include "escape.h"
@@ -31,7 +33,6 @@
#include "fd-util.h"
#include "formats-util.h"
#include "fstab-util.h"
-#include "libudev.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"
diff --git a/src/core/umount.c b/src/core/umount.c
index 954e50528d..9d1f7660db 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -27,11 +27,12 @@
#include <sys/mount.h>
#include <sys/swap.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "escape.h"
#include "fd-util.h"
#include "fstab-util.h"
-#include "libudev.h"
#include "list.h"
#include "mount-setup.h"
#include "path-util.h"