$NetBSD: patch-am,v 1.1 2009/01/10 21:04:23 jmcneill Exp $

--- libv4l1/v4l1compat.c.orig	2009-01-10 15:37:56.000000000 -0500
+++ libv4l1/v4l1compat.c	2009-01-10 15:38:45.000000000 -0500
@@ -40,6 +40,10 @@
 #define LIBV4L_PUBLIC
 #endif
 
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 0
+#endif
+
 LIBV4L_PUBLIC int open (const char *file, int oflag, ...)
 {
   int fd;
