$NetBSD: patch-bz,v 1.2 2006/01/04 17:00:32 joerg Exp $ --- lib-src/emacsserver.c.orig 1999-02-22 20:44:14.000000000 +0000 +++ lib-src/emacsserver.c @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ up to the Emacs which then executes them. */ #define NO_SHORTNAMES +#include #include #include <../src/config.h> #undef read @@ -65,8 +66,6 @@ void fatal_error (); #include #endif -extern int errno; - /* Copied from src/process.c */ #ifdef FD_SET /* We could get this from param.h, but better not to depend on finding that.