[sane-devel] plustek-usbhw.c -> itimerval struct not known on OS/2

2002-03-17 Thread Henning Meier-Geinitz
Hi, On Sun, Mar 17, 2002 at 06:34:51PM +0100, Franz Bakan wrote: > When I change plustek.c like this: > > ... > /* might be used to disable all USB stuff */ > #ifdef HAVE_USB_H > #define _PLUSTEK_USB > #endif This will also disable _PLUSTEK_USB for all other platforms that don't have libusb. But

[sane-devel] plustek-usbhw.c -> itimerval struct not known on OS/2

2002-03-17 Thread
On Sun, 17 Mar 2002 12:46:35 +0100, Jaeger, Gerhard wrote: Hallo Gerhard, thanks for the quick response. >is the function setitimer declared or even available? >If yes, what are the parameters... No, it's not available. But as there is no USB-Support for SANE (no libusb) at the moment and I have

[sane-devel] plustek-usbhw.c -> itimerval struct not known on OS/2

2002-03-17 Thread Jaeger, Gerhard
Hi Franz, is the function setitimer declared or even available? If yes, what are the parameters... On Linux the struct itimerval is defined as: struct itimerval { struct timeval it_interval;/* timer interval */ struct timeval it_value; /* current value */ };

[sane-devel] plustek-usbhw.c -> itimerval struct not known on OS/2

2002-03-16 Thread
Hi, CVS-Code of Sane does not compile on OS/2 because of: plustek-usbhw.c:932: storage size of `interval' isn't known. there is no typedef for itimerval here. Bye, Franz