forked from Mirrors/freeswitch
fix bsd build (OPENZAP-1)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@499 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
1cdd22c2b4
commit
d15813f1f7
@ -45,7 +45,7 @@ sun)
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_HEADERS([netinet/sctp.h netdb.h])
|
||||
AC_CHECK_HEADERS([netinet/sctp.h netdb.h sys/select.h])
|
||||
AC_CHECK_FUNC([gethostbyname_r],
|
||||
[], [AC_CHECK_LIB([nsl], [gethostbyname_r])]
|
||||
)
|
||||
|
@ -34,6 +34,9 @@
|
||||
#include "openzap.h"
|
||||
#include "ss7_boost_client.h"
|
||||
#include "zap_ss7_boost.h"
|
||||
#ifdef HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
SFLAG_FREE_REQ_ID = (1 << 0),
|
||||
|
Loading…
Reference in New Issue
Block a user