Use autoconf detected define for getgroups() type.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@422 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-01-05 23:11:15 +00:00
parent d5ce3ecef2
commit 72795fcaa6
5 changed files with 16 additions and 3 deletions

View file

@ -62,6 +62,10 @@
#elif defined(USE_TCP6_SOCKETS)
#define SOCKET_DESCRIPTION "(TCP/IPv6 sockets)"
#define SOCKET_USAGE "port=<TCP port number> loopback=<listen on loopback device only?>"
#ifdef OS_IS_WIN32
static const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
static const struct in6_addr in6addr_loopback = {{ IN6ADDR_LOOPBACK_INIT }};
#endif
#else
#define SOCKET_DESCRIPTION "(UNIX sockets)"
#define SOCKET_USAGE "socket=<path to UNIX socket>"