[systemd-devel] [PATCH] random-util: guard including sys/auxv.h with the corresponding ifdef check
Michael Olbrich
m.olbrich at pengutronix.de
Tue Jun 2 06:10:59 PDT 2015
On Tue, Jun 02, 2015 at 02:09:36PM +0200, Umut Tezduyar Lindskog wrote:
> http://lists.freedesktop.org/archives/systemd-devel/2015-May/032473.html
Oh, I missed that patch. I need to read the mails more carefully :-)
Michael
> On Tue, Jun 2, 2015 at 11:07 AM, Michael Olbrich
> <m.olbrich at pengutronix.de> wrote:
> > ---
> > 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 88f5182508e7..b230044f5099 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
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the systemd-devel
mailing list