summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-session-device.c3
-rw-r--r--src/login/logind.c2
-rw-r--r--src/login/sysfs-show.c3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c
index 0c6983d73a..9bf3ca0995 100644
--- a/src/login/logind-session-device.c
+++ b/src/login/logind-session-device.c
@@ -25,10 +25,11 @@
#include <sys/ioctl.h>
#include <sys/types.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "bus-util.h"
#include "fd-util.h"
-#include "libudev.h"
#include "logind-session-device.h"
#include "missing.h"
#include "util.h"
diff --git a/src/login/logind.c b/src/login/logind.c
index 04f467ceb4..7b41174c64 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <unistd.h>
+#include "libudev.h"
#include "sd-daemon.h"
#include "alloc-util.h"
@@ -34,7 +35,6 @@
#include "dirent-util.h"
#include "fd-util.h"
#include "formats-util.h"
-#include "libudev.h"
#include "logind.h"
#include "signal-util.h"
#include "strv.h"
diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c
index 86acee5751..e9ca4bb03d 100644
--- a/src/login/sysfs-show.c
+++ b/src/login/sysfs-show.c
@@ -22,8 +22,9 @@
#include <errno.h>
#include <string.h>
-#include "alloc-util.h"
#include "libudev.h"
+
+#include "alloc-util.h"
#include "locale-util.h"
#include "path-util.h"
#include "string-util.h"