summaryrefslogtreecommitdiff
path: root/src/debug-generator
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/debug-generator
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/debug-generator')
-rw-r--r--src/debug-generator/debug-generator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug-generator/debug-generator.c b/src/debug-generator/debug-generator.c
index fa4ca57bbf..1b5fb2a28d 100644
--- a/src/debug-generator/debug-generator.c
+++ b/src/debug-generator/debug-generator.c
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <unistd.h>
+
#include "alloc-util.h"
#include "generator.h"
#include "mkdir.h"
@@ -9,7 +11,6 @@
#include "string-util.h"
#include "strv.h"
#include "unit-name.h"
-#include "util.h"
static const char *arg_dest = NULL;
static char *arg_default_unit = NULL;