$NetBSD: patch-aa,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $


--- libucil/colorspace.c.orig	2008-10-01 04:14:46.000000000 -0400
+++ libucil/colorspace.c
@@ -25,7 +25,12 @@
 #endif //HAVE_AVCODEC
 
 #include <sys/types.h>
+#ifdef __linux__
 #include <linux/types.h>
+#elif defined(__NetBSD__)
+/* for __uN/__sN typedefs */
+#include <sys/videoio.h>
+#endif
 #include <glib.h>
 #include <string.h>
 
