random-util: guard including sys/auxv.h with the corresponding ifdef check

This commit is contained in:
Michael Olbrich 2015-06-02 11:07:39 +02:00 committed by Harald Hoyer
parent 80979f1ce4
commit a67dab3490
Notes: Lennart Poettering 2015-06-17 23:48:04 +02:00
Backport: bugfix

View file

@ -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"