[sane-devel] missing #include <sys/tipes.h> in sanei_lm983x.c

Franz Bakan fbakan at gmx.net
Sat Jan 12 12:55:46 GMT 2002


On Fri, 11 Jan 2002 19:05:54 +0100, Henning Meier-Geinitz wrote:

>> sanei_lm983x.c
>> 
>> #include <sys/types.h>
>> 
>> is missing at least for compiling on OS/2.
>
>Fixed. Just out of curiosity: Which type the complier didn't know?
>size_t?

gcc 2.81 and 3.02 complain about
 u_long
in line 295

changing
 u_long
 to
 unsigned long
 also works (without including sys/types)

Bye,
Franz





More information about the sane-devel mailing list