[sane-devel] Compile problem in 1.0.11

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 10 Apr 2003 22:57:55 +0200


On Thu, Apr 10, 2003 at 01:05:48PM -0300, John Coppens wrote:
> The first time I had posted the message to the wrong list (Video4Linux
> instead of sane-devel), but surprise I got this reply that solved the
> problem elegantly:
> Ronald Bultje <rbultje@ronald.bitfreak.net> wrote:
> Use #define _LINUX_TIME_H 1 just before including videodev.h or
> videodev2.h.
> (I did that in v4l.c and all problems went away :-)

Ok. However with /usr/include/linux being a link to your current
kernel headers you may get trouble with compiling other packages

I'll note it on our TODO, there is some rewriting in progress for
sane-v4l nayway.