--- win/tty/termcap.c.orig	Wed May 19 09:21:20 2010
+++ win/tty/termcap.c	Wed May 19 09:21:53 2010
@@ -835,8 +835,10 @@ cl_eos()			/* free after Robert Viduya */
 
 #include <curses.h>
 
+#ifndef __OpenBSD__
 #ifndef LINUX
 extern char *tparm();
+#endif
 #endif
 
 #  ifdef COLOR_BLACK	/* trust include file */
