summaryrefslogtreecommitdiff
path: root/src/sysctl
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/sysctl
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/sysctl')
-rw-r--r--src/sysctl/sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
index c67d790323..bb2643a480 100644
--- a/src/sysctl/sysctl.c
+++ b/src/sysctl/sysctl.c
@@ -7,6 +7,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include "conf-files.h"
#include "def.h"
@@ -21,7 +23,6 @@
#include "string-util.h"
#include "strv.h"
#include "sysctl-util.h"
-#include "util.h"
static char **arg_prefixes = NULL;
static bool arg_cat_config = false;