$NetBSD: patch-ab,v 1.3 2006/11/13 16:59:22 wulf Exp $

--- gnuradio-core/src/lib/runtime/gr_error_handler.cc.orig	2006-09-14 07:00:04.000000000 +0930
+++ gnuradio-core/src/lib/runtime/gr_error_handler.cc	2006-10-13 23:22:42.000000000 +0930
@@ -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;
 
