$NetBSD: patch-af,v 1.1.1.1 2007/10/20 15:32:11 noud4 Exp $

--- flash_erase.c.orig	2006-04-30 22:59:15.000000000 +0200
+++ flash_erase.c	2007-10-07 13:08:15.000000000 +0200
@@ -8,6 +8,9 @@
 #include <fcntl.h>
 #include <time.h>
 #include <sys/ioctl.h>
+#if __NetBSD__
+#include <sys/param.h>
+#endif
 #include <sys/mount.h>
 #include <mtd/mtd-user.h>
 
