summaryrefslogtreecommitdiffstats
path: root/src/run-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/run-generator
parenttest-fileio: do not use variable before checking return value (diff)
downloadsystemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.xz
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/run-generator')
-rw-r--r--src/run-generator/run-generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/run-generator/run-generator.c b/src/run-generator/run-generator.c
index a5dfac01d4..7d6c110912 100644
--- a/src/run-generator/run-generator.c
+++ b/src/run-generator/run-generator.c
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
+#include <unistd.h>
+
#include "alloc-util.h"
#include "escape.h"
#include "fd-util.h"