Um, we need rnd.h so that cs_softc is defined properly. Overrunning structures

is bad.
NOTE: #IFDEF IN SOFTC DEFINITIONS IS BAD.
This commit is contained in:
mycroft 2000-12-26 09:42:21 +00:00
parent e992baf394
commit a6fe4b78f2
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_cs_isa.c,v 1.2 1998/07/27 18:27:36 thorpej Exp $ */
/* $NetBSD: if_cs_isa.c,v 1.3 2000/12/26 09:42:21 mycroft Exp $ */
/*
* Copyright 1997
@ -38,6 +38,11 @@
#include <sys/socket.h>
#include <sys/device.h>
#include "rnd.h"
#if NRND > 0
#include <sys/rnd.h>
#endif
#include <net/if.h>
#include <net/if_ether.h>
#include <net/if_media.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_cs_ofisa.c,v 1.3 1998/08/17 20:34:19 thorpej Exp $ */
/* $NetBSD: if_cs_ofisa.c,v 1.4 2000/12/26 09:42:21 mycroft Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -43,6 +43,11 @@
#include <sys/device.h>
#include <sys/malloc.h>
#include "rnd.h"
#if NRND > 0
#include <sys/rnd.h>
#endif
#include <net/if.h>
#include <net/if_ether.h>
#include <net/if_media.h>