diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-06-02 17:24:34 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-06-02 17:24:34 +0200 |
commit | 9e89eb2478f61d36c5ff11504f7d889403585ce0 (patch) | |
tree | c6b034336bca340f437098a0a2aa8489fc759ba1 /src/shared/random-util.c | |
parent | 361d5b41a5efd13ff926279a866d050bb276a58e (diff) | |
parent | a67dab3490db5d88e2ab8a29a04c1a8a7026589b (diff) |
Merge pull request #8 from systemd-mailing-devs/1433236059-9824-1-git-send-email-m.olbrich@pengutronix.de
random-util: guard including sys/auxv.h with the corresponding ifdef …
Diffstat (limited to 'src/shared/random-util.c')
-rw-r--r-- | src/shared/random-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/random-util.c b/src/shared/random-util.c index 88f5182508..b230044f50 100644 --- a/src/shared/random-util.c +++ b/src/shared/random-util.c @@ -23,7 +23,9 @@ #include <sys/stat.h> #include <fcntl.h> #include <time.h> +#ifdef HAVE_SYS_AUXV_H #include <sys/auxv.h> +#endif #include <linux/random.h> #include "random-util.h" |