projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fef7a3
)
basic: user-utils.c needs missing.h for secure_getenv (#3059)
author
michaelolbrich
<m.olbrich@pengutronix.de>
Mon, 18 Apr 2016 13:28:00 +0000
(15:28 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 18 Apr 2016 13:28:00 +0000
(15:28 +0200)
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]
src/basic/user-util.c
patch
|
blob
|
history
diff --git
a/src/basic/user-util.c
b/src/basic/user-util.c
index
19155bc
..
f65ca3e
100644
(file)
--- 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"