[sane-devel] sane-frontends/src/scanadf.c and OS/2

Franz Bakan fbakan at gmx.net
Tue Jan 15 23:04:53 GMT 2002


Hi,

sane-frontends/src/scanadf.c

Two things have to be changed here to get it compiled on OS/2:

1. add

#ifndef PATH_MAX
# define PATH_MAX   1024
#endif


2. replace

u_char *data;
 with
unsigned char *data;

(line 76 or include <sys/types> once more ;-)

Bye
Franz





More information about the sane-devel mailing list