[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sys_socket: ensure ss_family
From: |
Simon Josefsson |
Subject: |
Re: sys_socket: ensure ss_family |
Date: |
Sun, 28 Nov 2010 17:20:34 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Hi Simon,
>
> On AIX 5.1, I'm seeing this compilation failure:
>
> gcc -D_ALL_SOURCE -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I.
> -I.. -I./.. -I../gllib -I./../gllib -g -O2 -MT test-sys_socket.o -MD -MP
> -MF .deps/test-sys_socket.Tpo -c -o test-sys_socket.o test-sys_socket.c
> test-sys_socket.c: In function 'main':
> test-sys_socket.c:52: error: 'struct sockaddr_storage' has no member named
> 'ss_family'
> make: 1254-004 The error code from the last command is 1.
>
> The 'struct sockaddr_storage' on AIX has a field '__ss_family', not
> 'ss_family'.
>
> This fixes it. OK to push?
Looks good, please push it.
/Simon