* Ed Schouten <[EMAIL PROTECTED]> wrote: > When all the PR's are closed, I guess most people can live without > COMPAT_43TTY as well. Maybe we should add a permanent #warning to > <sgtty.h> to warn people that they shouldn't use it and that it depends > on COMPAT_43TTY?
This should do the trick: %%% --- src/include/sgtty.h Tue May 24 11:57:10 1994 +++ src/include/sgtty.h Mon Mar 19 19:09:04 2007 @@ -31,7 +31,14 @@ * SUCH DAMAGE. * * @(#)sgtty.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD$ */ + +#include <sys/cdefs.h> + +#ifdef __CC_SUPPORTS_WARNING +#warning "sgtty.h is deprecated and depends on COMPAT_43TTY. Use termios.h instead." +#endif #ifndef USE_OLD_TTY #define USE_OLD_TTY %%% I'd really appreciate it if this patch would make it to the source, because then we can grep the Ports Tinderbox build logs to see which ports still include this header file. Thanks! -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/
pgp3UCqu6eQnO.pgp
Description: PGP signature

