[Freeswitch-trunk] [commit] r13761 - in freeswitch/trunk/libs: libnatpmp miniupnpc

FreeSWITCH SVN mikej at freeswitch.org
Thu Jun 11 10:34:28 PDT 2009


Author: mikej
Date: Thu Jun 11 12:34:27 2009
New Revision: 13761

Log:
fix braindead SLES 10 core build (FSBUILD-173)

Modified:
   freeswitch/trunk/libs/libnatpmp/natpmp.c
   freeswitch/trunk/libs/miniupnpc/miniupnpc.c

Modified: freeswitch/trunk/libs/libnatpmp/natpmp.c
==============================================================================
--- freeswitch/trunk/libs/libnatpmp/natpmp.c	(original)
+++ freeswitch/trunk/libs/libnatpmp/natpmp.c	Thu Jun 11 12:34:27 2009
@@ -14,6 +14,9 @@
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+#ifdef __linux__
+#define _BSD_SOURCE 1
+#endif
 #include <string.h>
 #include <time.h>
 #ifndef _MSC_VER

Modified: freeswitch/trunk/libs/miniupnpc/miniupnpc.c
==============================================================================
--- freeswitch/trunk/libs/miniupnpc/miniupnpc.c	(original)
+++ freeswitch/trunk/libs/miniupnpc/miniupnpc.c	Thu Jun 11 12:34:27 2009
@@ -29,6 +29,7 @@
 #include <arpa/inet.h>
 #include <poll.h>
 #include <netdb.h>
+#include <strings.h>
 #define closesocket close
 #endif
 #include "miniupnpc.h"



More information about the Freeswitch-trunk mailing list