Add files from parent branch HEAD:
[pkgsrcv2.git] / graphics / unicap / patches / patch-ac
1 $NetBSD$
2
3
4 --- libucil/yuvops.c.orig       2008-09-08 23:04:54.000000000 -0400
5 +++ libucil/yuvops.c    2008-09-08 23:05:22.000000000 -0400
6 @@ -13,8 +13,12 @@
7  #include "ucil.h"
8  
9  #include <sys/types.h>
10 +#ifdef __linux__
11  #include <linux/types.h>
12 -
13 +#elif defined(__NetBSD__)
14 +/* for __uN/__sN typedefs */
15 +#include <sys/videoio.h>
16 +#endif
17  
18  
19  #define CLIP(v,l,h) (((v)<(l))?(l):(v)>(h)?(h):(v))