Bruno Haible <br...@clisp.org> writes: > Simon Josefsson wrote: >> +#define _SS_PADSIZE (_SS_SIZE - (max (sizeof (sa_family_t), \ >> + alignof (__ss_aligntype)) \ >> + + sizeof (__ss_aligntype))) > > Fine, except that 'alignof' is not a predefined macro. We have a definition > of it in "malloca.h" and in some .c files from glibc. OSF/1 has it in a file > <alignof.h>, but it contains nothing better than our alignof macro. > > I propose to create a module like this:
Looks fine to me. If you push it, I can make sys_socket depend on it. /Simon