Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2007 12:11:57 +0200
From:      Heiko Recktenwald <uzs106@uni-bonn.de>
To:        freebsd-multimedia@freebsd.org
Subject:   multimedia/setpwc etc
Message-ID:  <471099ED.6090600@uni-bonn.de>
In-Reply-To: <20071010101425.iqz40wmlc0cw0cok@0x20.net>
References:  <4709E898.706@uni-bonn.de> <op.tzv08sjp9aq2h7@mezz.mezzweb.com>	<470BFFB2.8000500@uni-bonn.de> <20071010083828.jbheis3em8ockg4o@0x20.net>	<470C7F7A.1080200@gmail.com> <20071010101425.iqz40wmlc0cw0cok@0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Solved! Not yet tested,  but it looks good so far!
>
>> From setpwc.c:
>>
>>
>> #include <errno.h>
>> #include <string.h>
>> #include <stdio.h>
>> #include <stdlib.h>
>> #include <sys/ioctl.h>
>> #include <sys/types.h>
>> #include <sys/stat.h>
>> #include <fcntl.h>
>> #include <unistd.h>
>> #define _LINUX_TIME_H 1 /* to get things compile on kernel 2.6.x */
>> #include <linux/videodev.h>
>>

I simply replaced the last line with

#include "/usr/local/include/linux/videodev.h"

>> #include "pwc-ioctl.h"

Maybe my multimedia/v4l_compat installation is broken,  was allready 
there, manually moved from from multimedia/bsdpwc/work/, maybe I have 
to  add it manually to some list?

Thanks to all!

Best, H.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471099ED.6090600>