From: Jeff Lenk Date: Sun, 10 Mar 2013 20:01:38 +0000 (-0500) Subject: FS-4000 --resolve X-Git-Tag: v1.3.17-final~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fe64c68c0eb0aa093c6ce85942ff67a02c90032;p=thirdparty%2Ffreeswitch.git FS-4000 --resolve --- diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index 671052ab30..ace5f18569 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -1042,6 +1042,11 @@ SWITCH_DECLARE(switch_status_t) switch_thread_create(switch_thread_t ** new_thre * The default values come from FreeBSD 4.1.1 */ #define SWITCH_INET AF_INET +#ifdef AF_INET6 +#define SWITCH_INET6 AF_INET6 +#else +#define SWITCH_INET6 0 +#endif /** @def SWITCH_UNSPEC * Let the system decide which address family to use