summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
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/net/if_spppsubr.c
parentfbfb64b089bf7db09282feda12081278fe6ef406 (diff)
Users of arc4random() should include dev/rndvar.h directly.
ok dlg claudio
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c5
1 files changed, 4 insertions, 1 deletions
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