diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-02 11:07:39 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2015-06-02 12:03:20 +0200 |
commit | a67dab3490db5d88e2ab8a29a04c1a8a7026589b (patch) | |
tree | 93b745c919d185ba002fa6f766d2088eba37172c /src | |
parent | 80979f1ce4dadf797a42e85a97dc10960c1f6509 (diff) |
random-util: guard including sys/auxv.h with the corresponding ifdef check
Diffstat (limited to 'src')
-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" |