summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-17 06:52:45 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-17 07:06:08 +0100
commitb4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 (patch)
treeecb8dabf3534ac4985dbd345c2b685799fe74d56 /src/login
parentf1f8a5a5e110f485257e8702ad30b9997e529a74 (diff)
tree-wide: group include of libudev.h with sd-*
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"