summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-03-27 11:32:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-03-27 11:53:12 +0100
commitca78ad1de987b800978622a22ac6c5caf628a037 (patch)
tree9445e8e303fbb8f52aaccf6cd280b7cd957dc97e /src/locale
parentb45556375e0b9989a1245a36fcb673b95eb21f43 (diff)
downloadsystemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.gz
systemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.bz2
systemd-ca78ad1de987b800978622a22ac6c5caf628a037.zip
headers: remove unneeded includes from util.h
This means we need to include many more headers in various files that simply included util.h before, but it seems cleaner to do it this way.
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/keymap-util.c2
-rw-r--r--src/locale/localed.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/locale/keymap-util.c b/src/locale/keymap-util.c
index 67f33612de..76d8a4e041 100644
--- a/src/locale/keymap-util.c
+++ b/src/locale/keymap-util.c
@@ -3,6 +3,8 @@
#include <errno.h>
#include <stdio_ext.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#include "bus-util.h"
diff --git a/src/locale/localed.c b/src/locale/localed.c
index f851d35a08..8d0eec96a5 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -2,6 +2,8 @@
#include <errno.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#if HAVE_XKBCOMMON