summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-08 05:28:08 +0000
committerderaadt <deraadt@openbsd.org>2000-01-08 05:28:08 +0000
commitac4f7c907190d8b0d05218848cdaf37d6ae948d4 (patch)
tree7abb45a68b19467b6f0d566b66a368934ed7257c
parentsupport LBA-mapped extended partitions too; sigh@kuzirabekon.econ.nagasaki-u.ac.jp (diff)
downloadwireguard-openbsd-ac4f7c907190d8b0d05218848cdaf37d6ae948d4.tar.xz
wireguard-openbsd-ac4f7c907190d8b0d05218848cdaf37d6ae948d4.zip
pull in arc4random() prototype
-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