Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=13539
[fs/lustre-release.git]
/
lustre
/
lvfs
/
prng.c
diff --git
a/lustre/lvfs/prng.c
b/lustre/lvfs/prng.c
index
b067338
..
5da435e
100644
(file)
--- a/
lustre/lvfs/prng.c
+++ b/
lustre/lvfs/prng.c
@@
-18,7
+18,9
@@
#define get_random_bytes(val, size) (*val) = 0
#endif
#include <obd_class.h>
+#if defined(HAVE_LINUX_RANDOM_H)
#include <linux/random.h>
+#endif
/*
From: George Marsaglia <geo@stat.fsu.edu>