[Freeswitch-svn] [commit] r13358 - freeswitch/trunk/src

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 10:44:47 PDT 2009


Author: mikej
Date: Fri May 15 12:44:47 2009
New Revision: 13358

Log:
ensure vasprintf is available on linux (FSBUILD-160)

Modified:
   freeswitch/trunk/src/switch_apr.c

Modified: freeswitch/trunk/src/switch_apr.c
==============================================================================
--- freeswitch/trunk/src/switch_apr.c	(original)
+++ freeswitch/trunk/src/switch_apr.c	Fri May 15 12:44:47 2009
@@ -30,6 +30,10 @@
  *
  */
 
+#ifdef __linux__
+#define _GNU_SOURCE
+#endif
+
 #include <switch.h>
 #ifndef WIN32
 #include <switch_private.h>



More information about the Freeswitch-svn mailing list