[systemd-devel] [PATCH] shared: do not include aux_h if it is off
Lennart Poettering
lennart at poettering.net
Wed Jun 10 16:49:13 PDT 2015
On Fri, 29.05.15 11:47, Umut Tezduyar Lindskog (umut.tezduyar at axis.com) wrote:
For the sake of the archives: this was merged as:
https://github.com/systemd/systemd/pull/8
> ---
> src/shared/random-util.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/shared/random-util.c b/src/shared/random-util.c
> index 88f5182..b230044 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"
> --
> 2.1.4
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list