--- sftp.c.orig	Tue Feb 15 16:30:50 2000
+++ sftp.c	Wed Apr 12 16:57:56 2000
@@ -26,7 +26,9 @@
 #endif
 #ifdef HAVE_LIBREADLINE
 #include <readline/readline.h>
+#ifndef __OpenBSD__
 #include <readline/history.h>
+#endif /* __OpenBSD__ */
 #endif
 
 #include "sftp.h"
