ab26aff16f
0.9.3: - optionally use libv4l to support more cameras - fix installation directory of plugins for x64 systems - fix scaling of ogg/theora video - use categories for v4l2 properties 0.9.2: - Severall small bug fixes and improvements ( see ChangeLog ) - The EeePC packages got updated
19 lines
402 B
Text
19 lines
402 B
Text
$NetBSD: patch-ac,v 1.2 2009/01/08 01:08:37 jmcneill Exp $
|
|
|
|
|
|
--- libucil/yuvops.c.orig 2008-06-12 11:25:11.000000000 -0400
|
|
+++ libucil/yuvops.c
|
|
@@ -13,8 +13,12 @@
|
|
#include "ucil.h"
|
|
|
|
#include <sys/types.h>
|
|
+#ifdef __linux__
|
|
#include <linux/types.h>
|
|
-
|
|
+#elif defined(__NetBSD__)
|
|
+/* for __uN/__sN typedefs */
|
|
+#include <sys/videoio.h>
|
|
+#endif
|
|
|
|
|
|
#define CLIP(v,l,h) (((v)<(l))?(l):(v)>(h)?(h):(v))
|