[sane-devel] Changes to the saned access control

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 17 Feb 2002 19:54:11 +0100


Hi,

On Sat, Feb 16, 2002 at 02:29:49AM +0100, Franz Bakan wrote:
> Hi, now compiling sane-backends on OS/2 fails with
> 
> inet_pton.c: In function `inet_pton':
> inet_pton.c:36: `in_addr_t' undeclared (first use in this function)
> inet_pton.c:36: (Each undeclared identifier is reported only once
> inet_pton.c:36: for each function it appears in.)
> inet_pton.c:36: parse error before `in'
> inet_pton.c:38: `in' undeclared (first use in this function)

Sometimes I curse OS/2 :-). in_addr_t is the return value of
"inet_addr" and should be defined in <netinet/in.h> according to my
docs. Maybe I'm getting something wrong here, but this looks pretty
broken to me.

Does it work if you change in_addr_t to u_int32_t? If this works, I
will add a test to configure.

Bye,
  Henning