$NetBSD: patch-ag,v 1.2 2007/04/28 15:20:43 reed Exp $

--- file_w.c.orig	2005-01-09 03:56:32.000000000 -0600
+++ file_w.c	2007-04-26 09:01:01.000000000 -0500
@@ -12,6 +12,7 @@
 #ifdef MIPS
 #include <sys/types.h>
 #include <sys/fcntl.h>
+#include <errno.h>
 #else
 #include <unistd.h>
 #include <fcntl.h>
