[sane-devel] Compile problem in 1.0.11

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Apr 10 21:57:55 BST 2003


Hi,

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 at 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
anyway.

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

Thanks,
  Henning



More information about the sane-devel mailing list