]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix braindead SLES 10 core build (FSBUILD-173)
authorMichael Jerris <mike@jerris.com>
Thu, 11 Jun 2009 17:34:27 +0000 (17:34 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 11 Jun 2009 17:34:27 +0000 (17:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13761 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libnatpmp/natpmp.c
libs/miniupnpc/miniupnpc.c

index 33c9a07340ec562a106643338fb825d269aad6d2..3678603b28707adc82e980b41145d50dee0bdf4d 100644 (file)
@@ -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
index 7ea5b1bbb859b4a26111ca6e942eb4ac9697b411..b7ca4f6f8631a613f36c8484a9996cc709fef303 100644 (file)
@@ -29,6 +29,7 @@
 #include <arpa/inet.h>
 #include <poll.h>
 #include <netdb.h>
+#include <strings.h>
 #define closesocket close
 #endif
 #include "miniupnpc.h"