$OpenBSD: patch-xvt_xvt_h,v 1.3 2016/07/01 08:46:52 landry Exp $
--- xvt/xvt.h.orig	Wed Aug 12 13:58:54 2015
+++ xvt/xvt.h	Fri Jul  1 09:55:51 2016
@@ -61,6 +61,10 @@ char* ptsname(int);
 
 #endif /* !SUNOS5 */
 
+#if defined(__OpenBSD__)
+#define LIBC_OPENPTY
+#endif
+
 
 /* Function prototypes */
 void* cmalloc(int);
