diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/digi/digi.c | 2 | ||||
-rw-r--r-- | sys/dev/rp/rp.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c index 5c882b6..0f0ce00 100644 --- a/sys/dev/digi/digi.c +++ b/sys/dev/digi/digi.c @@ -35,6 +35,8 @@ * Test with *LOTS* more cards - I only have a PCI8r and an ISA Xem. */ +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index b1a488e..76894fa8 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -36,6 +36,8 @@ * rp.c - for RocketPort FreeBSD */ +#include "opt_compat.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/fcntl.h> @@ -1243,6 +1245,10 @@ rpioctl(dev, cmd, data, flag, td) int error = 0; int arg, flags, result, ChanStatus; struct termios *t; +#if defined(COMPAT_43) || defined(COMPAT_SUNOS) + u_long oldcmd; + struct termios term; +#endif umynor = (((minor(dev) >> 16) -1) * 32); /* SG */ port = (minor(dev) & 0x1f); /* SG */ |