$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 + #include "utils.h" #include "gaptext.h" @@ -192,7 +195,6 @@ Int ReadGap ( line, len ) ** *F WriteGap( , ) . . . . . . . . . . . . . . . . write gap input */ -extern int errno; #ifdef DEBUG_ON