summaryrefslogtreecommitdiff
path: root/src/update-done
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/update-done
parentb45556375e0b9989a1245a36fcb673b95eb21f43 (diff)
downloadsystemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.gz
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/update-done')
-rw-r--r--src/update-done/update-done.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/update-done/update-done.c b/src/update-done/update-done.c
index c76c2d1f51..bbd14165d5 100644
--- a/src/update-done/update-done.c
+++ b/src/update-done/update-done.c
@@ -1,9 +1,13 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
#include "alloc-util.h"
#include "fileio-label.h"
#include "selinux-util.h"
-#include "util.h"
+#include "time-util.h"
#define MESSAGE \
"# This file was created by systemd-update-done. Its only \n" \