$NetBSD: patch-ab,v 1.2 2005/12/11 11:16:35 wulf Exp $

--- src/lib/runtime/gr_error_handler.cc.orig	2005-06-24 13:01:16.000000000 +0930
+++ src/lib/runtime/gr_error_handler.cc	2005-12-11 05:15:23.000000000 +1030
@@ -53,6 +53,10 @@
 #include <io.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 static gr_error_handler	*s_default_handler = 0;
 static gr_error_handler *s_silent_handler = 0;
 
