diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-27 11:32:41 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-27 11:53:12 +0100 |
commit | ca78ad1de987b800978622a22ac6c5caf628a037 (patch) | |
tree | 9445e8e303fbb8f52aaccf6cd280b7cd957dc97e /src/fuzz | |
parent | b45556375e0b9989a1245a36fcb673b95eb21f43 (diff) | |
download | systemd-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/fuzz')
-rw-r--r-- | src/fuzz/fuzz-dhcp-server.c | 4 | ||||
-rw-r--r-- | src/fuzz/fuzz-journald-stream.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/fuzz/fuzz-dhcp-server.c b/src/fuzz/fuzz-dhcp-server.c index 01fe350ca5..71bb99a381 100644 --- a/src/fuzz/fuzz-dhcp-server.c +++ b/src/fuzz/fuzz-dhcp-server.c @@ -1,5 +1,9 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#include <fcntl.h> +#include <sys/stat.h> +#include <sys/types.h> + #include "fuzz.h" #include "sd-dhcp-server.c" diff --git a/src/fuzz/fuzz-journald-stream.c b/src/fuzz/fuzz-journald-stream.c index bc53964139..0991b287c9 100644 --- a/src/fuzz/fuzz-journald-stream.c +++ b/src/fuzz/fuzz-journald-stream.c @@ -2,6 +2,7 @@ #include <linux/sockios.h> #include <sys/ioctl.h> +#include <unistd.h> #include "fd-util.h" #include "fuzz.h" |