Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern add missing "rnd.h" include - noted by simonb



details:   https://anonhg.NetBSD.org/src/rev/b3939acb6e3b
branches:  trunk
changeset: 537636:b3939acb6e3b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Oct 04 02:37:23 2002 +0000

description:
add missing "rnd.h" include - noted by simonb

diffstat:

 sys/lib/libkern/arc4random.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 0545f87b87f6 -r b3939acb6e3b sys/lib/libkern/arc4random.c
--- a/sys/lib/libkern/arc4random.c      Fri Oct 04 02:22:05 2002 +0000
+++ b/sys/lib/libkern/arc4random.c      Fri Oct 04 02:37:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arc4random.c,v 1.4 2002/06/14 03:05:46 itojun Exp $    */
+/*     $NetBSD: arc4random.c,v 1.5 2002/10/04 02:37:23 itojun Exp $    */
 
 /*-
  * THE BEER-WARE LICENSE
@@ -12,6 +12,8 @@
  * $FreeBSD: src/sys/libkern/arc4random.c,v 1.9 2001/08/30 12:30:58 bde Exp $
  */
 
+#include "rnd.h"
+
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/param.h>
@@ -21,7 +23,7 @@
 #include <lib/libkern/libkern.h>
 
 #if NRND > 0
-#include <dev/rnd.h>
+#include <sys/rnd.h>
 #endif
 
 #define        ARC4_MAXRUNS 16384



Home | Main Index | Thread Index | Old Index