summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-13 17:37:32 +0200
committerLennart Poettering <lennart@poettering.net>2018-07-20 16:57:35 +0200
commitccfc19c960fca86317eb44d777a6bd20342bac80 (patch)
tree0539a365a99550b07f563a86005c2706a58ba328 /src/basic
parenttests: prefer MS_SLAVE over MS_PRIVATE for turning off mount propagation (diff)
downloadsystemd-ccfc19c960fca86317eb44d777a6bd20342bac80.tar.xz
systemd-ccfc19c960fca86317eb44d777a6bd20342bac80.zip
env-util: make env-util.h self contained
The header file references strlen(), hence it should include string.h
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/env-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/env-util.h b/src/basic/env-util.h
index ef9398e618..174433ea91 100644
--- a/src/basic/env-util.h
+++ b/src/basic/env-util.h
@@ -6,6 +6,7 @@
#include <stdio.h>
#include "macro.h"
+#include "string.h"
bool env_name_is_valid(const char *e);
bool env_value_is_valid(const char *e);