diff options
author | michaelolbrich <m.olbrich@pengutronix.de> | 2016-04-18 15:28:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-18 15:28:00 +0200 |
commit | 0b6b45d5e09b48c0637caab85f3b667ec7e8afef (patch) | |
tree | 6286b2c64b0ef3b85986040d5c9df375e1a39808 /src/basic/user-util.c | |
parent | 3fef7a3fcdcaa6bc6b4bea9d76f994d8f6385487 (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.c | 1 |
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" |