diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/cy.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/istallion.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/rp.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/si.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/stallion.c | 4 | ||||
-rw-r--r-- | sys/i386/linux/linux_socket.c | 8 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 8 |
8 files changed, 28 insertions, 9 deletions
diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c index 69202e9..001b3f2 100644 --- a/sys/i386/isa/cy.c +++ b/sys/i386/isa/cy.c @@ -27,9 +27,11 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.56 1997/11/10 15:46:33 bde Exp $ + * $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $ */ +#include "opt_compat.h" + #include "cy.h" /* diff --git a/sys/i386/isa/istallion.c b/sys/i386/isa/istallion.c index 272d758..2c47749 100644 --- a/sys/i386/isa/istallion.c +++ b/sys/i386/isa/istallion.c @@ -33,11 +33,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: istallion.c,v 1.13 1997/09/14 03:19:09 peter Exp $ + * $Id: istallion.c,v 1.14 1997/12/06 13:22:33 bde Exp $ */ /*****************************************************************************/ +#include "opt_compat.h" + #define TTYDEFCHARS 1 #include <sys/param.h> diff --git a/sys/i386/isa/rp.c b/sys/i386/isa/rp.c index 3a0507a..f13233c 100644 --- a/sys/i386/isa/rp.c +++ b/sys/i386/isa/rp.c @@ -34,6 +34,8 @@ * rp.c - for RocketPort FreeBSD */ +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/fcntl.h> diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index 1c72960..f71871e 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.61 1997/09/21 21:41:37 gibbs Exp $ + * $Id: si.c,v 1.62 1997/12/06 13:22:56 bde Exp $ */ #ifndef lint @@ -39,6 +39,8 @@ static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,199 si_copyright3[] = "@(#) (C) Peter Wemm 1995"; #endif /* not lint */ +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #if defined(COMPAT_43) || defined(COMPAT_SUNOS) diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index a0763da..145239a 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,10 +31,11 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.189 1997/11/20 15:48:41 nate Exp $ + * $Id: sio.c,v 1.190 1997/12/06 13:23:04 bde Exp $ */ #include "opt_comconsole.h" +#include "opt_compat.h" #include "opt_ddb.h" #include "opt_sio.h" #include "sio.h" diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c index 00b8087..5a38841 100644 --- a/sys/i386/isa/stallion.c +++ b/sys/i386/isa/stallion.c @@ -33,13 +33,15 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stallion.c,v 1.13 1997/09/14 03:19:25 peter Exp $ + * $Id: stallion.c,v 1.14 1997/12/06 13:23:15 bde Exp $ */ /*****************************************************************************/ #define TTYDEFCHARS 1 +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/i386/linux/linux_socket.c b/sys/i386/linux/linux_socket.c index 0d6c18c..dc89319 100644 --- a/sys/i386/linux/linux_socket.c +++ b/sys/i386/linux/linux_socket.c @@ -25,11 +25,15 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_socket.c,v 1.9 1997/11/06 19:29:03 phk Exp $ + * $Id: linux_socket.c,v 1.10 1997/12/14 03:17:54 msmith Exp $ */ /* XXX we use functions that might not exist. */ -#define COMPAT_43 1 +#include "opt_compat.h" + +#ifndef COMPAT_43 +#error "Unable to compile Linux-emulator due to missing COMPAT_43 option!" +#endif #include <sys/param.h> #include <sys/proc.h> diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 45f805d..cba303a 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -25,11 +25,15 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_sysvec.c,v 1.19 1997/09/01 02:12:39 bde Exp $ + * $Id: linux_sysvec.c,v 1.20 1997/11/06 19:29:04 phk Exp $ */ /* XXX we use functions that might not exist. */ -#define COMPAT_43 1 +#include "opt_compat.h" + +#ifndef COMPAT_43 +#error "Unable to compile Linux-emulator due to missing COMPAT_43 option!" +#endif #include <sys/param.h> #include <sys/buf.h> |