summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-af
blob: c549f04cdadaccc63ef0d89a6e4f543508b64628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-af,v 1.4 2009/05/29 13:22:11 he Exp $

--- security/nss/lib/freebl/unix_rand.c.orig	2007-07-26 01:18:55.000000000 +0200
+++ security/nss/lib/freebl/unix_rand.c
@@ -35,6 +35,7 @@
  * ***** END LICENSE BLOCK ***** */
 
 #include <stdio.h>
+#include <fcntl.h>
 #include <string.h>
 #include <signal.h>
 #include <unistd.h>
@@ -185,7 +186,8 @@ static SECStatus RNG_kstat(PRUint32* fed
 #endif
 
 #if defined(SCO) || defined(UNIXWARE) || defined(BSDI) || defined(FREEBSD) \
-    || defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD)
+    || defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD) \
+    || defined(DRAGONFLY)
 #include <sys/times.h>
 
 #define getdtablesize() sysconf(_SC_OPEN_MAX)