projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80979f1
)
random-util: guard including sys/auxv.h with the corresponding ifdef check
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Tue, 2 Jun 2015 09:07:39 +0000
(11:07 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 2 Jun 2015 10:03:20 +0000
(12:03 +0200)
src/shared/random-util.c
patch
|
blob
|
history
diff --git
a/src/shared/random-util.c
b/src/shared/random-util.c
index
88f5182
..
b230044
100644
(file)
--- 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"