* 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:
Vladimir 'phcoder' Serbinenko 2013-10-19 02:30:05 +02:00
parent b47fcae6cb
commit d0a116ee5a
2 changed files with 6 additions and 1 deletions

View file

@ -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>
* grub-core/osdep/generic/blocklist.c: Add missing include to string.h.

View file

@ -3,7 +3,7 @@
#elif defined (__linux__) || defined (__FreeBSD__) \
|| defined (__FreeBSD_kernel__) || defined (__OpenBSD__) \
|| defined (__GNU__) || defined (__NetBSD__) \
|| defined (__APPLE__) || defined(__sun__)
|| defined (__APPLE__) || defined(__sun__) || defined (__HAIKU__)
#include "unix/random.c"
#else
#include "basic/random.c"