Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/sunos sunos_ioctl.c is included by sunos32_ioctl....



details:   https://anonhg.NetBSD.org/src/rev/dadea28eab79
branches:  trunk
changeset: 503185:dadea28eab79
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Feb 02 12:59:43 2001 +0000

description:
sunos_ioctl.c is included by sunos32_ioctl.c.  include the sunos32 &
netbsd32 headers if we are in sunos32 mode.

diffstat:

 sys/compat/sunos/sunos_ioctl.c |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 61698ba55243 -r dadea28eab79 sys/compat/sunos/sunos_ioctl.c
--- a/sys/compat/sunos/sunos_ioctl.c    Fri Feb 02 10:53:48 2001 +0000
+++ b/sys/compat/sunos/sunos_ioctl.c    Fri Feb 02 12:59:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_ioctl.c,v 1.33 2000/12/01 12:28:35 jdolecek Exp $        */
+/*     $NetBSD: sunos_ioctl.c,v 1.34 2001/02/02 12:59:43 mrg Exp $     */
 
 /*
  * Copyright (c) 1993 Markus Wild.
@@ -26,6 +26,9 @@
  * loosely from: Header: sunos_ioctl.c,v 1.7 93/05/28 04:40:43 torek Exp
  */
 
+#include "opt_compat_netbsd32.h"
+#include "opt_execfmt.h"
+
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/systm.h>
@@ -49,6 +52,12 @@
 
 #include <compat/sunos/sunos.h>
 #include <compat/sunos/sunos_syscallargs.h>
+#ifdef COMPAT_NETBSD32
+#include <compat/netbsd32/netbsd32.h>
+#include <compat/netbsd32/netbsd32_syscallargs.h>
+#include <compat/sunos32/sunos32.h>
+#include <compat/sunos32/sunos32_syscallargs.h>
+#endif
 #include <compat/common/compat_util.h>
 
 /*



Home | Main Index | Thread Index | Old Index