$NetBSD: patch-bz,v 1.1 2004/03/25 22:13:34 kristerw Exp $

--- lib-src/emacsserver.c.orig	2004-03-25 22:57:10.000000000 +0100
+++ lib-src/emacsserver.c	2004-03-25 22:57:32.000000000 +0100
@@ -26,6 +26,7 @@
    up to the Emacs which then executes them.  */
 
 #define NO_SHORTNAMES
+#include <stdlib.h>
 #include <signal.h>
 #include <../src/config.h>
 #undef read
