$OpenBSD: patch-src_occtl_c,v 1.3 2015/07/02 20:50:21 sthen Exp $
--- src/occtl.c.orig	Tue May 26 18:33:38 2015
+++ src/occtl.c	Thu Jul  2 05:35:21 2015
@@ -234,7 +234,7 @@ static int handle_help_cmd(CONN_TYPE * conn, const cha
 static int handle_reset_cmd(CONN_TYPE * conn, const char *arg, cmd_params_st *params)
 {
 	rl_reset_terminal(NULL);
-#ifdef HAVE_ORIG_READLINE
+#if defined(HAVE_ORIG_READLINE) && !defined(__OpenBSD__)
 	rl_reset_screen_size();
 #endif
 
