diff options
author | cls%seawood.org <devnull@localhost> | 1999-12-05 07:26:46 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-12-05 07:26:46 +0000 |
commit | 0db5085b313aef6c180579ae90e023fbcf9cf911 (patch) | |
tree | 12a1c6fc2938a1ce2e06af624e8fa3bdb952e076 | |
parent | ffbc577f6a0079d58cdd129aefcea8cf72b947f1 (diff) | |
download | nspr-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.c | 2 |
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> |