summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2007-05-28 06:31:02 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2007-05-28 06:31:02 +0000
commitbc3a27d3b42a64b6bf92803fb6aa005924213e61 (patch)
tree984ae87752c90e8a9765d4d3851145dbc2924dfb /sys/netinet
parentfbfb64b089bf7db09282feda12081278fe6ef406 (diff)
Users of arc4random() should include dev/rndvar.h directly.
ok dlg claudio
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_carp.c5
1 files changed, 4 insertions, 1 deletions
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