[sane-devel] backends 1.0.12 compile-error
Erik Inge Bolsų
knan@mo.himolde.no
Tue, 3 Jun 2003 13:48:00 +0200 (CEST)
On Tue, 3 Jun 2003, Gerfried Maier wrote:
>[...]
>/* Structure large enough to hold any socket address (with the historical
> exception of AF_UNIX). We reserve 128 bytes. */
>#if ULONG_MAX > 0xffffffff
># define __ss_aligntype __uint64_t
>#else
># define __ss_aligntype __uint32_t
>#endif
>#define _SS_SIZE 128
>#define _SS_PADSIZE (_SS_SIZE - (2 * sizeof (__ss_aligntype)))
>
>struct sockaddr_storage
> {
> __SOCKADDR_COMMON (__ss_); /* Address family, etc. */
> __ss_aligntype __ss_align; /* Force desired alignment. */
> char __ss_padding[_SS_PADSIZE];
> };
>[...]
>
>No (obvious?) member ss_family, too.
See my other mail. This seems to confirm it. What distro / libc do you
have?
--
Erik I. Bolsų | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to
hang yourself. And then a couple of feet more, just to be sure.