Files
2013-09-26 17:14:40 +02:00

20 lines
402 B
Plaintext

$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))