summaryrefslogtreecommitdiff
path: root/graphics/libv4l/patches/patch-aj
blob: 30c236c5a3a356af9f0a4f59bfc386fbbf1432e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aj,v 1.1 2009/01/10 21:04:23 jmcneill Exp $

--- include/libv4l1.h.orig	2009-01-10 15:36:53.000000000 -0500
+++ include/libv4l1.h	2009-01-10 15:37:29.000000000 -0500
@@ -57,6 +57,10 @@ LIBV4L_PUBLIC extern FILE *v4l1_log_file
    capture formats, like hw specific bayer compression methods).
 */
 
+#ifndef __off64_t
+#define __off64_t off_t
+#endif
+
 LIBV4L_PUBLIC int v4l1_open (const char *file, int oflag, ...);
 LIBV4L_PUBLIC int v4l1_close(int fd);
 LIBV4L_PUBLIC int v4l1_dup(int fd);