Commit Graph

18 Commits

Author SHA1 Message Date
Ruslan Ermilov
6bc4ee4976 Unbreak world build by adding the necessary <net/ethernet.h> include.
Submitted by:	Nickolay Dudorov <nnd@wint.itfs.nsk.su>
2000-08-02 07:37:44 +00:00
Ruslan Ermilov
a7e7621042 Fix an off-by-nine error when building a list of includes. 2000-08-01 08:15:06 +00:00
Jun-ichiro itojun Hagino
82b5a7cc73 more pre-requisite for new ipv6 ioctls 2000-07-04 16:26:47 +00:00
Poul-Henning Kamp
b1637716a8 sys/dkbad.h is no more. 1999-12-08 19:47:08 +00:00
Marcel Moolenaar
e2366ecc70 Avoid hardcoding any paths and variables. The include directory must
now be specified on the command line. Accept a '-s' option which
controls whether a switch-statement is to be used instead of a series
of if-statements.

Replace cpp with gcc -E.

Discussed with: bde
1999-12-03 12:50:02 +00:00
Guido van Rooij
80d3cdcb56 Unbreak build world by readding the necessary ipfilter includes. 1999-11-24 15:38:35 +00:00
Doug Rabson
5736689c84 ioctlname() is actually passed a register_t.
Pointed out by: bde
1999-11-10 08:41:08 +00:00
Doug Rabson
647fc635a3 Fix a boatload of warnings in the generated code on the alpha. 1999-11-09 22:32:29 +00:00
Peter Wemm
4e05e22361 Ack, ip_mroute.h is not an ipfilter include. :-/
Submitted by:	Mike Heffner <spock@techfour.net>
1999-10-11 16:14:22 +00:00
Peter Wemm
dd461ee06d Don't #include ipfilter includes that aren't there anymore. 1999-10-10 17:49:25 +00:00
Nick Hibma
03026827d2 Remove the inclusion of device.h. It's no longer there. 1999-10-06 07:45:30 +00:00
Poul-Henning Kamp
b55099e93d we don't have <sys/disk.h> anymore. 1999-05-08 05:48:54 +00:00
Bruce Evans
511a1b6f79 Generate code to interpret ioctl numbers for all ioctls defined in
headers under /usr/include, not just for the ones in <sys/ioctl.h>.
The generated file includes all headers that seem to define ioctls,
so build errors will probably occur if headers become less self-
sufficient than they are already.  This is a feature.  Build errors
shall not be fixed by adding more includes here.

Optionally generate a case statement instead of a list of if
statements.  This source must be edited to change this.  The case
statement should be non-optional.  It currently can't be, because
many ioctl numbers are not unique.
1998-10-16 15:33:17 +00:00
Garrett Wollman
628d2ac1b0 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Bruce Evans
e18efcbd6a Run the headers through cpp -dM to find the #defines. The direct search
has been broken at least since 4.4Lite moved most of the #defines out of
<sys/ioctl.h>.  This should be done better.  Only a few headers are
searched.

Added some #includes so that ioctl.c compiles.  The networking headers
have a maze of undocumented interdependencies and ioctl.c now actually
supports networking ioctls.
1996-06-23 17:05:10 +00:00
David Greenman
0bb10c6613 Include queue.h in preparation for upcoming struct socket changes. 1996-03-11 12:56:07 +00:00
Steven Wallace
26e65fa36f Added $DESTDIR to
$DESTDIR/usr/include/sys/ioctl.h $DESTDIR/usr/include/sys/ioctl_compat.h
so ioctl.c is generated properly using 2.0 include files in $DESTDIR.
1994-09-15 05:47:41 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00