Subject: Re: bin/1114: kdump doesn't compile
To: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
From: Scott Reynolds <scottr@Plexus.COM>
List: netbsd-bugs
Date: 06/05/1995 12:44:36
On Mon, 5 Jun 1995, Andrew Wheadon wrote:

> >Description:
> 	kdump hasn't compiled since those changes for multicast went in.
> 	i.e. make fails.

The reason is that a couple of (apparently new) ioctl's want struct 
sioc_sg_req declared.  Here's a fix:

*** usr.bin/kdump/mkioctls.orig	Sun Jan 15 06:29:08 1995
--- usr.bin/kdump/mkioctls	Mon Jun  5 11:04:10 1995
***************
*** 7,12 ****
--- 7,14 ----
  	print "#include <sys/socketvar.h>"
  	print "#include <net/route.h>"
  	print "#include <net/if.h>"
+ 	print "#include <netinet/in.h>"
+ 	print "#include <netinet/ip_mroute.h>"
  	print "#include <sys/termios.h>"
  	print "#define COMPAT_43"
  	print "#include <sys/ioctl.h>"