Date: Sat, 28 May 2011 03:13:09 +0000 From: zy@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r222496 - soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl Message-ID: <20110528031309.BAA251065670@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zy Date: Sat May 28 03:13:09 2011 New Revision: 222496 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=222496 Log: Uses the HAVE_TERM_H to handle the problem suggested by r170399 Modified: soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl/cl_screen.c Modified: soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl/cl_screen.c ============================================================================== --- soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl/cl_screen.c Sat May 28 00:58:19 2011 (r222495) +++ soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl/cl_screen.c Sat May 28 03:13:09 2011 (r222496) @@ -25,8 +25,11 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef HAVE_TERM_H #include <term.h> +#else #include <termios.h> +#endif #include <unistd.h> #include "../common/common.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110528031309.BAA251065670>