Description: Fix v4l support on kFreeBSD
This patch is enough to make linphone build on kfreebsd with video
enabled. The resulting linphone was successfully tested using
cuse4bsd and webcamd (pending upload).
Author: Christoph Egger
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: ,
Bug:
Bug-Debian: http://bugs.debian.org/
Bug-Ubuntu: https://launchpad.net/bugs/
Forwarded:
Reviewed-By:
Last-Update:
--- linphone-3.5.2.orig/mediastreamer2/src/msv4l.c
+++ linphone-3.5.2/mediastreamer2/src/msv4l.c
@@ -17,8 +17,6 @@ along with this program; if not, write t
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#ifdef __linux
-
#include "mediastreamer-config.h"
#include
@@ -1071,5 +1069,3 @@ static void v4l_detect(MSWebCamManager *
}
}
-
-#endif