summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-03-21 05:24:29 +0000
committerwtc%netscape.com <devnull@localhost>2003-03-21 05:24:29 +0000
commit9391fbfb9873c16b232e3e1d23054ce9e0e3a3e5 (patch)
tree7716e13dc3d4d5e84fea5f75f3ceb43bd18a2f77
parentb3f6e601c357dda3751eeb5e0fbda23b6a763780 (diff)
downloadnss-hg-9391fbfb9873c16b232e3e1d23054ce9e0e3a3e5.tar.gz
Bugzilla 198461: fixed build problem on OpenBSD. The patch is contributed
by timeless@bemail.org.
-rw-r--r--security/nss/lib/freebl/unix_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/unix_rand.c b/security/nss/lib/freebl/unix_rand.c
index 8d865cd1e..cd6726530 100644
--- a/security/nss/lib/freebl/unix_rand.c
+++ b/security/nss/lib/freebl/unix_rand.c
@@ -78,7 +78,7 @@ static size_t CopyLowBits(void *dst, size_t dstlen, void *src, size_t srclen)
}
#if defined(SCO) || defined(UNIXWARE) || defined(BSDI) || defined(FREEBSD) \
- || defined(NETBSD) || defined(NTO) || defined(DARWIN)
+ || defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD)
#include <sys/times.h>
#define getdtablesize() sysconf(_SC_OPEN_MAX)