fix braindead SLES 10 core build (FSBUILD-173)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13761 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-06-11 17:34:27 +00:00
parent 521ac7b48c
commit bc223c5512
2 changed files with 4 additions and 0 deletions

View 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

View 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"