diff options
author | newton <newton@FreeBSD.org> | 1999-12-08 10:51:17 +0000 |
---|---|---|
committer | newton <newton@FreeBSD.org> | 1999-12-08 10:51:17 +0000 |
commit | 802528d8ff1b0f5e6eb9e269e754a3f677532993 (patch) | |
tree | 4231d7e991200ad1e29281090ac6e115bd2491df /sys/svr4 | |
parent | 69d6534e2aea10d15640d7ffe048e3fc4cc6dd09 (diff) | |
download | FreeBSD-src-802528d8ff1b0f5e6eb9e269e754a3f677532993.zip FreeBSD-src-802528d8ff1b0f5e6eb9e269e754a3f677532993.tar.gz |
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
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 52910bf..f9ecd91 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 183678e..866f80b 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 4a9f5d7..6d250fd 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 7c39f44..1e5e8fd 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 1bcd92d..ea172e9 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 2f70b4d..84db78b 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 890b0e8..8ce2c81 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 f5fc97e..af54218 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> |