pkgsrc-wip/mtd-utils/patches/patch-ao
ndb 31a27a9ccc Tools for manipulating memory technology devices,
such as flash memory, Disk-On-Chip, or ROM.
Includes mkfs.jffs2, a tool to create JFFS2
(journaling flash file system) filesystems.
2007-10-20 15:32:11 +00:00

14 lines
347 B
Text

$NetBSD: patch-ao,v 1.1.1.1 2007/10/20 15:32:11 noud4 Exp $
--- flash_lock.c 2006-10-07 17:33:37.000000000 +0200
+++ flash_lock.c.new 2007-09-01 09:41:24.000000000 +0200
@@ -11,6 +11,9 @@
#include <fcntl.h>
#include <time.h>
#include <sys/ioctl.h>
+#if __NetBSD__
+#include <sys/param.h>
+#endif
#include <sys/mount.h>
#include <string.h>