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:
Michael Jerris 2008-07-08 02:22:48 +00:00
parent 1cdd22c2b4
commit d15813f1f7
2 changed files with 4 additions and 1 deletions

View File

@ -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])]
)

View File

@ -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),