$OpenBSD: patch-src_occtl_occtl_c,v 1.2 2017/02/14 23:02:19 sthen Exp $
--- src/occtl/occtl.c.orig	Sun Feb 12 10:19:02 2017
+++ src/occtl/occtl.c	Sun Feb 12 13:51:28 2017
@@ -246,7 +246,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
 
