提交 bc223c55 authored 作者: Michael Jerris's avatar Michael Jerris

fix braindead SLES 10 core build (FSBUILD-173)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13761 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 521ac7b4
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#ifdef __linux__
#define _BSD_SOURCE 1
#endif
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#ifndef _MSC_VER #ifndef _MSC_VER
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <poll.h> #include <poll.h>
#include <netdb.h> #include <netdb.h>
#include <strings.h>
#define closesocket close #define closesocket close
#endif #endif
#include "miniupnpc.h" #include "miniupnpc.h"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论