include "rnd.h" explicitely since the size of sd_softc depends on it

(sd_scsi.c and sd_atapi.c missed it, leading to random memory corruption)
This commit is contained in:
drochner 2000-01-22 16:35:25 +00:00
parent 2ab34248eb
commit 05261ccb43
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sdvar.h,v 1.10 2000/01/21 23:40:00 thorpej Exp $ */
/* $NetBSD: sdvar.h,v 1.11 2000/01/22 16:35:25 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -53,6 +53,11 @@
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*/
#include "rnd.h"
#if NRND > 0
#include <sys/rnd.h>
#endif
#define SDRETRIES 4
struct sd_ops;