summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-17 09:36:25 +0100
committerDaniel Mack <github@zonque.org>2015-11-17 09:36:25 +0100
commita57246551a0bf4afe200e597daab9c3935eca99f (patch)
treeba768fa85baf70d53d088cdf8c8e5eb473c06a7e /src/login
parentf21bb7537ab7b6b871eac424f72b703851bf9f00 (diff)
parentb4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 (diff)
Merge pull request #1926 from phomes/include-order-libudev
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"