openbsd-ports/x11/xfe/patches/patch-xvt_xvt_h
stephan 6c6d94640a update to 1.32.1, from Vladimir Tamara Patino (vtamara at
pasosdeJesus.org). Tweaks and help from landry@.

ok landry@
2010-04-08 09:50:06 +00:00

15 lines
425 B
Plaintext

$OpenBSD: patch-xvt_xvt_h,v 1.1 2010/04/08 09:50:06 stephan Exp $
--- xvt/xvt.h.orig Mon Oct 19 04:36:02 2009
+++ xvt/xvt.h Fri Mar 26 08:32:16 2010
@@ -60,7 +60,9 @@ int unlockpt(int);
char *ptsname(int);
#else /* !SUNOS5 */
/*#ifndef LINUX*/
-#ifndef linux
+#if defined(__OpenBSD__)
+#define LIBC_OPENPTY
+#elif !defined(linux)
int ioctl(int fd, unsigned request, char *arg);
#endif /* LINUX */
#endif /* !SUNOS5 */