From e2760c6fbe6676c856c21d688c082bdcb2f7cb57 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 15 May 2009 18:10:59 +0000 Subject: [PATCH] ensure vasprintf is available on linux (FSBUILD-160) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13361 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_apr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_apr.c b/src/switch_apr.c index 65a2852162..f3409f25eb 100644 --- a/src/switch_apr.c +++ b/src/switch_apr.c @@ -31,8 +31,10 @@ */ #ifdef __linux__ +#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +#endif #include #ifndef WIN32