diff options
-rw-r--r-- | sys/net/if_bridge.c | 5 | ||||
-rw-r--r-- | sys/net/if_pppoe.c | 5 | ||||
-rw-r--r-- | sys/net/if_spppsubr.c | 5 | ||||
-rw-r--r-- | sys/netinet/ip_carp.c | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 32c17b9e1c8..00e9ea2216e 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.162 2007/05/26 17:13:30 jason Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.163 2007/05/28 06:31:01 mcbride Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -52,6 +52,9 @@ #include <net/route.h> #include <net/netisr.h> +/* for arc4random() */ +#include <dev/rndvar.h> + #ifdef INET #include <netinet/in.h> #include <netinet/in_systm.h> diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c index 5973dfd697b..4ea94bd6646 100644 --- a/sys/net/if_pppoe.c +++ b/sys/net/if_pppoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppoe.c,v 1.11 2006/12/28 23:38:23 todd Exp $ */ +/* $OpenBSD: if_pppoe.c,v 1.12 2007/05/28 06:31:01 mcbride Exp $ */ /* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */ /* @@ -64,6 +64,9 @@ __KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $") #include <netinet/in.h> #include <netinet/if_ether.h> +/* for arc4random() */ +#include <dev/rndvar.h> + #if NBPFILTER > 0 #include <net/bpf.h> #endif diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 79250cd0d3f..0eb6f1020bb 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.50 2007/05/20 18:54:15 canacar Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.51 2007/05/28 06:31:01 mcbride Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -56,6 +56,9 @@ #include <net/if_types.h> #include <net/route.h> +/* for arc4random() */ +#include <dev/rndvar.h> + #if defined (__FreeBSD__) || defined(__OpenBSD_) || defined(__NetBSD__) #include <machine/random.h> #endif diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 6912dd26180..3a15ba083c4 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.139 2007/05/27 20:11:44 dlg Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.140 2007/05/28 06:31:01 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -56,6 +56,9 @@ #include <net/route.h> #include <net/netisr.h> +/* for arc4random() */ +#include <dev/rndvar.h> + #if NFDDI > 0 #include <net/if_fddi.h> #endif |