summaryrefslogtreecommitdiffstats
path: root/src/nss-resolve
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/nss-resolve
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/nss-resolve')
-rw-r--r--src/nss-resolve/nss-resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nss-resolve/nss-resolve.c b/src/nss-resolve/nss-resolve.c
index 12c9c4f7f3..0aa56c0882 100644
--- a/src/nss-resolve/nss-resolve.c
+++ b/src/nss-resolve/nss-resolve.c
@@ -5,6 +5,8 @@
#include <nss.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "sd-bus.h"