summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1999-12-05 07:26:46 +0000
committercls%seawood.org <devnull@localhost>1999-12-05 07:26:46 +0000
commit0db5085b313aef6c180579ae90e023fbcf9cf911 (patch)
tree12a1c6fc2938a1ce2e06af624e8fa3bdb952e076
parentffbc577f6a0079d58cdd129aefcea8cf72b947f1 (diff)
downloadnspr-hg-0db5085b313aef6c180579ae90e023fbcf9cf911.tar.gz
I've been told that NetBSD has /dev/random as well. At worst, it should return 0 rather than fail with that undefined error anyways.
-rw-r--r--pr/src/md/unix/uxrng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/md/unix/uxrng.c b/pr/src/md/unix/uxrng.c
index 92c36880..fd2a3f1d 100644
--- a/pr/src/md/unix/uxrng.c
+++ b/pr/src/md/unix/uxrng.c
@@ -102,7 +102,7 @@ GetHighResClock(void *buf, size_t maxbytes)
return 0;
}
-#elif (defined(LINUX) || defined(__FreeBSD__))
+#elif (defined(LINUX) || defined(__FreeBSD__) || defined(NETBSD))
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>