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

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 10:50:37 PDT 2009


Author: mikej
Date: Fri May 15 12:50:37 2009
New Revision: 13359

Log:
setgroup/initgroup availability on linux (FSBUILD-160)

Modified:
   freeswitch/trunk/src/switch_core.c

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Fri May 15 12:50:37 2009
@@ -33,6 +33,11 @@
  *
  */
 
+
+#ifdef __linux__
+#define _BSD_SOURCE
+#endif
+
 #include <switch.h>
 #include <switch_version.h>
 #include "private/switch_core_pvt.h"
@@ -44,6 +49,7 @@
 #endif
 #include <errno.h>
 
+
 SWITCH_DECLARE_DATA switch_directories SWITCH_GLOBAL_dirs = { 0 };
 
 /* The main runtime obj we keep this hidden for ourselves */



More information about the Freeswitch-svn mailing list