Skip to content

Commit

Permalink
basic: user-utils.c needs missing.h for secure_getenv (systemd#3059)
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
michaelolbrich authored and poettering committed Apr 18, 2016
1 parent 3fef7a3 commit 0b6b45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/basic/user-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0b6b45d

Please sign in to comment.