summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-08 05:28:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-08 05:28:09 +0000
commit1215229b1854b1c195c9883ab2f313992f940b19 (patch)
treefc3716f974102f4693dba251d97939efe495f51f /sys
parent135167ec385829214912ab8141857391df6e5ce3 (diff)
pull in arc4random() prototype
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/frag6.c4
-rw-r--r--sys/netinet6/nd6_nbr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index 3e78c8d8eb3..e33f260741d 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frag6.c,v 1.3 2000/01/08 04:49:22 deraadt Exp $ */
+/* $OpenBSD: frag6.c,v 1.4 2000/01/08 05:28:08 deraadt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -52,6 +52,8 @@
#include <net/net_osdep.h>
+#include <dev/rndvar.h>
+
/*
* Define it to get a correct behavior on per-interface statistics.
* You will need to perform an extra routing table lookup, per fragment,
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 444548e60fd..585ae0c95bd 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_nbr.c,v 1.6 2000/01/08 04:49:22 deraadt Exp $ */
+/* $OpenBSD: nd6_nbr.c,v 1.7 2000/01/08 05:28:08 deraadt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -57,6 +57,8 @@
#include <net/net_osdep.h>
+#include <dev/rndvar.h>
+
#define SDL(s) ((struct sockaddr_dl *)s)
#if 0