summaryrefslogtreecommitdiff
path: root/src/basic/user-util.c
diff options
context:
space:
mode:
authormichaelolbrich <m.olbrich@pengutronix.de>2016-04-18 15:28:00 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-18 15:28:00 +0200
commit0b6b45d5e09b48c0637caab85f3b667ec7e8afef (patch)
tree6286b2c64b0ef3b85986040d5c9df375e1a39808 /src/basic/user-util.c
parent3fef7a3fcdcaa6bc6b4bea9d76f994d8f6385487 (diff)
basic: user-utils.c needs missing.h for secure_getenv (#3059)
Otherwise building may fail with: src/basic/user-util.c: In function 'get_home_dir': src/basic/user-util.c:343:9: error: implicit declaration of function 'secure_getenv' [-Werror=implicit-function-declaration]
Diffstat (limited to 'src/basic/user-util.c')
-rw-r--r--src/basic/user-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/user-util.c b/src/basic/user-util.c
index 19155bce53..f65ca3edaa 100644
--- a/src/basic/user-util.c
+++ b/src/basic/user-util.c
@@ -30,6 +30,7 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "missing.h"
#include "alloc-util.h"
#include "fd-util.h"
#include "formats-util.h"