From 6fe64c68c0eb0aa093c6ce85942ff67a02c90032 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Sun, 10 Mar 2013 15:01:38 -0500 Subject: [PATCH] FS-4000 --resolve --- src/include/switch_apr.h | 5 +++++ 1 file changed, 5 insertions(+) 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