2013-09-26 17:14:40 +02:00

23 lines
491 B
Plaintext

$NetBSD: patch-ab,v 1.1 2005/12/27 13:53:22 joerg Exp $
--- src.x11/pty.c.orig 2005-12-19 15:40:24.000000000 +0000
+++ src.x11/pty.c
@@ -31,6 +31,9 @@
** 'x' the current input line is empty
** 'z' start of 'Exec'
*/
+
+#include <errno.h>
+
#include "utils.h"
#include "gaptext.h"
@@ -192,7 +195,6 @@ Int ReadGap ( line, len )
**
*F WriteGap( <line>, <len> ) . . . . . . . . . . . . . . . . write gap input
*/
-extern int errno;
#ifdef DEBUG_ON