$NetBSD: patch-af,v 1.3 2012/03/19 20:12:49 markd Exp $

--- kopete/libkopete/avdevice/videodevice.h.orig	2011-04-01 10:59:27.000000000 +0000
+++ kopete/libkopete/avdevice/videodevice.h
@@ -75,6 +75,13 @@
 #endif // HAVE_V4L2
 
 #endif // __linux__ __FreeBSD__ ENABLE_AV
+#if (defined(__NetBSD__) || defined(__DragonFly__)) && defined(ENABLE_AV)
+
+#ifdef HAVE_LIBV4L2
+#include <libv4l2.h>
+#endif // HAVE_V4L2
+
+#endif // __NetBSD__ __DragonFly__
 
 #include <qstring.h>
 #include <qfile.h>
