socsvn commit: r222496 - soc2011/zy/nvi-iconv/head/usr.bin/nvi/cl

zy at FreeBSD.org zy at FreeBSD.org
Sat May 28 03:13:12 UTC 2011


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"


More information about the svn-soc-all mailing list