Re: AF_LOCAL vs AF_UNIX

2012-04-12 Thread Bruno Haible
Hi Nikos, Nikos Mavrogiannopoulos wrote: > I've noticed that some systems define AF_LOCAL in sys/socket.h while > others AF_UNIX and most define both. Could gnulib provide both > definitions (e.g. by this patch) to simplify their usage on various > platforms? Gnulib is meant to allow people to p

AF_LOCAL vs AF_UNIX

2012-04-11 Thread Nikos Mavrogiannopoulos
Hello, I've noticed that some systems define AF_LOCAL in sys/socket.h while others AF_UNIX and most define both. Could gnulib provide both definitions (e.g. by this patch) to simplify their usage on various platforms? regards, Nikos diff --git a/lib/sys_socket.in.h b/lib/sys_socket.in.h index c91