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

Franz Bakan Franz Bakan" <fbakan@gmx.net
Wed, 16 Jan 2002 00:04:53 +0100 (CET)


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