summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
committerobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
commita8c8e00c91ee3b7567d3dd2ad6c6394f041928cb (patch)
tree7ec8e4f2ec6e1369ecd37b47e7b485d868935e25 /sys/netipx
parentf85fa734fac6ee4d477cc35cbd5f6792ee363275 (diff)
downloadFreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.zip
FreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.tar.gz
* Use sys/sys/random.h rather than a i386 specific one.
* There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index db6025d..e16285c 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -42,6 +42,7 @@
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/kernel.h>
+#include <sys/random.h>
#include <sys/sysctl.h>
#include <net/if.h>
@@ -55,8 +56,6 @@
#include <netipx/ipx_pcb.h>
#include <netipx/ipx_var.h>
-#include <machine/random.h>
-
int ipxcksum = 0;
SYSCTL_INT(_net_ipx_ipx, OID_AUTO, checksum, CTLFLAG_RW,
&ipxcksum, 0, "");
OpenPOWER on IntegriCloud