summaryrefslogtreecommitdiff
path: root/devel/pwlib152/files/patch-videoio
blob: 7e86b99f5bcadd878c169d7173c5d08494f58aa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- include/ptlib/unix/ptlib/videoio.h.orig	Mon Jan  6 10:41:08 2003
+++ include/ptlib/unix/ptlib/videoio.h	Sun Feb 15 23:42:39 2004
@@ -106,9 +106,13 @@
 #include <linux/videodev.h>     /* change this to "videodev2.h" for v4l2 */
 #endif
 
-#if defined(P_FREEBSD)
+#if defined(P_FREEBSD) && !defined(NO_VIDEO_CAPTURE)
+#if P_FREEBSD >= 502101
+#include <dev/bktr/ioctl_meteor.h>
+#else
 #include <machine/ioctl_meteor.h>
 #endif
+#endif
 
 #if defined(P_OPENBSD) || defined(P_NETBSD)
 #if P_OPENBSD >= 200105
@@ -186,7 +190,7 @@
     struct video_mmap frameBuffer[2];
 #endif
 
-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
+#if (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)) && !defined(NO_VIDEO_CAPTURE)
     struct video_capability
     {
         int channels;   /* Num channels */