Re: [systemd-devel] [PATCH] random-util: guard including sys/auxv.h with the corresponding ifdef check

2015-06-09 Thread Lennart Poettering
On Tue, 02.06.15 11:07, Michael Olbrich (m.olbr...@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

For the sake of the archives:

This was merged as https://github.com/systemd/systemd/pull/8.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] [PATCH] random-util: guard including sys/auxv.h with the corresponding ifdef check

2015-06-02 Thread Michael Olbrich
---
 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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] random-util: guard including sys/auxv.h with the corresponding ifdef check

2015-06-02 Thread systemd github import bot
Patchset imported to github.
Pull request:
https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1433236059-9824-1-git-send-email-m.olbrich%40pengutronix.de

--
Generated by https://github.com/haraldh/mail2git
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel