_KERNEL_OPT is your friend.

This commit is contained in:
mrg 2001-06-08 15:43:34 +00:00
parent 0232db7a4d
commit 5849352bfc
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tty.h,v 1.51 2001/05/02 10:32:08 scw Exp $ */
/* $NetBSD: tty.h,v 1.52 2001/06/08 15:43:34 mrg Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@ -252,7 +252,7 @@ u_char *firstc __P((struct clist *clp, int *c));
int clalloc __P((struct clist *, int, int));
void clfree __P((struct clist *));
#if !defined(_LKM)
#if defined(_KERNEL_OPT)
#include "opt_compat_freebsd.h"
#include "opt_compat_sunos.h"
#include "opt_compat_svr4.h"
@ -261,7 +261,7 @@ void clfree __P((struct clist *));
#endif
#if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_SVR4) || \
defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1)
defined(COMPAT_FREEBSD) || defined(COMPAT_OSF1) || defined(LKM)
# define COMPAT_OLDTTY
int ttcompat __P((struct tty *, u_long, caddr_t, int, struct proc *));
#endif