diff options
author | Mark Newton <newton@FreeBSD.org> | 1999-12-08 10:51:17 +0000 |
---|---|---|
committer | Mark Newton <newton@FreeBSD.org> | 1999-12-08 10:51:17 +0000 |
commit | 6d6fd92936c17efcf5e8cb48fda9184f1249ca0f (patch) | |
tree | 2da9f877be42623cbdd58c5750ea7e67fece1728 /sys/svr4 | |
parent | 2ac0d0a1f7c0ccf73facaa7d05bce5a625b26c0f (diff) | |
download | src-6d6fd92936c17efcf5e8cb48fda9184f1249ca0f.tar.gz src-6d6fd92936c17efcf5e8cb48fda9184f1249ca0f.zip |
SVR4 emulator source files now take their compilation options from
opt_global.h and opt_svr4.h, instead of from the command line. This
brings them in-line with most of the rest of the kernel.
svr4_ioctl.c has also failed to compile with debugging for a while
now; fixed by adding systm.h and socketvar.
Some svr4 source files are automatically generated from syscalls.master;
these have been committed as consequential changes, otherwise everyone
will have to "make svr4_sysent.c".
Changes:
sys/svr4/svr4.h include opt_global.h and opt_svr4.h
sys/svr4/svr4_ioctl.c include svr4.h, sys/systm.h and sys/socketvar.h
sys/svr4/svr4_ipc.c include svr4.h
sys/svr4/svr4_resource.c include svr4.h
sys/svr4/svr4_socket.c include svr4.h
sys/svr4/svr4_ttold.c include svr4.h
sys/svr4/syscalls.master include svr4.h
sys/svr4/svr4_syscallnames.c dependent on syscalls.master
sys/svr4/svr4_sysent.c dependent on syscalls.master
sys/svr4/svr4_syscall.h dependent on syscalls.master
sys/svr4/svr4_proto.h dependent on syscalls.master
sys/modules/svr4/Makefile create opt_global.h and opt_svr4.h
Notes
Notes:
svn path=/head/; revision=54300
Diffstat (limited to 'sys/svr4')
-rw-r--r-- | sys/svr4/svr4.h | 3 | ||||
-rw-r--r-- | sys/svr4/svr4_ioctl.c | 2 | ||||
-rw-r--r-- | sys/svr4/svr4_ipc.c | 2 | ||||
-rw-r--r-- | sys/svr4/svr4_resource.c | 1 | ||||
-rw-r--r-- | sys/svr4/svr4_socket.c | 1 | ||||
-rw-r--r-- | sys/svr4/svr4_sysent.c | 1 | ||||
-rw-r--r-- | sys/svr4/svr4_ttold.c | 2 | ||||
-rw-r--r-- | sys/svr4/syscalls.master | 1 |
8 files changed, 11 insertions, 2 deletions
diff --git a/sys/svr4/svr4.h b/sys/svr4/svr4.h index 52910bf349c3..f9ecd91093a3 100644 --- a/sys/svr4/svr4.h +++ b/sys/svr4/svr4.h @@ -27,6 +27,9 @@ * $FreeBSD$ */ +#include "opt_global.h" +#include "opt_svr4.h" + #if !defined(_SVR4_H) #define _SVR4_H diff --git a/sys/svr4/svr4_ioctl.c b/sys/svr4/svr4_ioctl.c index 183678e05cb4..866f80b03e03 100644 --- a/sys/svr4/svr4_ioctl.c +++ b/sys/svr4/svr4_ioctl.c @@ -35,6 +35,8 @@ #include <sys/fcntl.h> #include <sys/termios.h> #include <sys/socket.h> +#include <sys/socketvar.h> +#include <sys/systm.h> #include <net/if.h> diff --git a/sys/svr4/svr4_ipc.c b/sys/svr4/svr4_ipc.c index 4a9f5d7ce3c9..6d250fdee471 100644 --- a/sys/svr4/svr4_ipc.c +++ b/sys/svr4/svr4_ipc.c @@ -83,7 +83,7 @@ #include <sys/proc.h> #include <sys/time.h> - +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_signal.h> #include <svr4/svr4_proto.h> diff --git a/sys/svr4/svr4_resource.c b/sys/svr4/svr4_resource.c index 7c39f44b3a1e..1e5e8fd2691a 100644 --- a/sys/svr4/svr4_resource.c +++ b/sys/svr4/svr4_resource.c @@ -79,6 +79,7 @@ #include <sys/resource.h> #include <sys/resourcevar.h> +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_resource.h> #include <svr4/svr4_signal.h> diff --git a/sys/svr4/svr4_socket.c b/sys/svr4/svr4_socket.c index 1bcd92da605c..ea172e947cf2 100644 --- a/sys/svr4/svr4_socket.c +++ b/sys/svr4/svr4_socket.c @@ -55,6 +55,7 @@ #include <sys/proc.h> #include <sys/malloc.h> +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_util.h> #include <svr4/svr4_socket.h> diff --git a/sys/svr4/svr4_sysent.c b/sys/svr4/svr4_sysent.c index 2f70b4d35b20..84db78b82c10 100644 --- a/sys/svr4/svr4_sysent.c +++ b/sys/svr4/svr4_sysent.c @@ -10,6 +10,7 @@ #include <sys/sysent.h> #include <sys/sysproto.h> #include <netinet/in.h> +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_signal.h> #include <svr4/svr4_proto.h> diff --git a/sys/svr4/svr4_ttold.c b/sys/svr4/svr4_ttold.c index 890b0e8f7b11..8ce2c81731b0 100644 --- a/sys/svr4/svr4_ttold.c +++ b/sys/svr4/svr4_ttold.c @@ -39,7 +39,7 @@ #include <sys/socket.h> #include <net/if.h> - +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_util.h> #include <svr4/svr4_signal.h> diff --git a/sys/svr4/syscalls.master b/sys/svr4/syscalls.master index f5fc97e2fdd3..af542181be82 100644 --- a/sys/svr4/syscalls.master +++ b/sys/svr4/syscalls.master @@ -27,6 +27,7 @@ #include <sys/sysproto.h> #include <netinet/in.h> +#include <svr4/svr4.h> #include <svr4/svr4_types.h> #include <svr4/svr4_signal.h> #include <svr4/svr4_proto.h> |