* grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses
yarrow (by B. Schneier et al) for its /dev/urandom (similar to FreeBSD).
This commit is contained in:
parent
b47fcae6cb
commit
d0a116ee5a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/osdep/random.c: Use unix/random.c on haiku. Haiku uses
|
||||||
|
yarrow (by B. Schneier et al) for its /dev/urandom (similar to FreeBSD).
|
||||||
|
|
||||||
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/osdep/generic/blocklist.c: Add missing include to string.h.
|
* grub-core/osdep/generic/blocklist.c: Add missing include to string.h.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#elif defined (__linux__) || defined (__FreeBSD__) \
|
#elif defined (__linux__) || defined (__FreeBSD__) \
|
||||||
|| defined (__FreeBSD_kernel__) || defined (__OpenBSD__) \
|
|| defined (__FreeBSD_kernel__) || defined (__OpenBSD__) \
|
||||||
|| defined (__GNU__) || defined (__NetBSD__) \
|
|| defined (__GNU__) || defined (__NetBSD__) \
|
||||||
|| defined (__APPLE__) || defined(__sun__)
|
|| defined (__APPLE__) || defined(__sun__) || defined (__HAIKU__)
|
||||||
#include "unix/random.c"
|
#include "unix/random.c"
|
||||||
#else
|
#else
|
||||||
#include "basic/random.c"
|
#include "basic/random.c"
|
||||||
|
|
Loading…
Reference in a new issue