Lines 1-6
Link Here
|
1 |
--- plugins/vidinput_bsd/vidinput_bsd.h.orig Tue Aug 9 11:08:09 2005 |
1 |
--- plugins/vidinput_bsd/vidinput_bsd.h.orig Tue Aug 9 18:08:09 2005 |
2 |
+++ plugins/vidinput_bsd/vidinput_bsd.h Thu Apr 6 09:37:11 2006 |
2 |
+++ plugins/vidinput_bsd/vidinput_bsd.h Sun May 14 20:50:59 2006 |
3 |
@@ -1,13 +1,24 @@ |
3 |
@@ -1,13 +1,25 @@ |
4 |
+#ifndef _PVIDEOIOBSDCAPTURE |
4 |
+#ifndef _PVIDEOIOBSDCAPTURE |
5 |
|
5 |
|
6 |
-//#include <sys/mman.h> |
6 |
-//#include <sys/mman.h> |
Lines 11-16
Link Here
|
11 |
+#pragma interface |
11 |
+#pragma interface |
12 |
+#endif |
12 |
+#endif |
13 |
+ |
13 |
+ |
|
|
14 |
+#include <sys/types.h> |
14 |
+#include <sys/mman.h> |
15 |
+#include <sys/mman.h> |
15 |
|
16 |
|
16 |
#include <ptlib.h> |
17 |
#include <ptlib.h> |
Lines 27-33
Link Here
|
27 |
#endif |
28 |
#endif |
28 |
|
29 |
|
29 |
#if defined(P_OPENBSD) || defined(P_NETBSD) |
30 |
#if defined(P_OPENBSD) || defined(P_NETBSD) |
30 |
@@ -20,19 +30,24 @@ |
31 |
@@ -20,19 +32,24 @@ |
31 |
#endif |
32 |
#endif |
32 |
#endif |
33 |
#endif |
33 |
|
34 |
|
Lines 59-65
Link Here
|
59 |
|
60 |
|
60 |
BOOL IsOpen(); |
61 |
BOOL IsOpen(); |
61 |
|
62 |
|
62 |
@@ -43,11 +58,24 @@ |
63 |
@@ -43,11 +60,24 @@ |
63 |
|
64 |
|
64 |
BOOL IsCapturing(); |
65 |
BOOL IsCapturing(); |
65 |
|
66 |
|
Lines 87-93
Link Here
|
87 |
|
88 |
|
88 |
BOOL GetFrameSizeLimits(unsigned int&, unsigned int&, |
89 |
BOOL GetFrameSizeLimits(unsigned int&, unsigned int&, |
89 |
unsigned int&, unsigned int&); |
90 |
unsigned int&, unsigned int&); |
90 |
@@ -99,3 +127,5 @@ |
91 |
@@ -99,3 +129,5 @@ |
91 |
int mmap_size; |
92 |
int mmap_size; |
92 |
|
93 |
|
93 |
}; |
94 |
}; |