From 4193c1ccf0040ce505f50748e140783c0ddd1d2f Mon Sep 17 00:00:00 2001 From: lawrance Date: Sun, 13 Nov 2005 13:39:01 +0000 Subject: Another build fix, this time for 5.x. Submitted by: maintainer --- net/kiax/files/patch-lib_libiax2_src_iax.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'net') diff --git a/net/kiax/files/patch-lib_libiax2_src_iax.c b/net/kiax/files/patch-lib_libiax2_src_iax.c index a40fca37b952..2a82e5ee885d 100644 --- a/net/kiax/files/patch-lib_libiax2_src_iax.c +++ b/net/kiax/files/patch-lib_libiax2_src_iax.c @@ -1,6 +1,6 @@ ---- lib/libiax2/src/iax.c.orig Sat Nov 12 17:29:58 2005 -+++ lib/libiax2/src/iax.c Sat Nov 12 17:31:06 2005 -@@ -53,9 +53,11 @@ +--- lib/libiax2/src/iax.c.orig Sun Nov 13 13:59:36 2005 ++++ lib/libiax2/src/iax.c Sun Nov 13 14:21:46 2005 +@@ -53,11 +53,13 @@ #include #ifndef MACOSX @@ -8,7 +8,24 @@ #include #ifndef SOLARIS #include -+#endif #endif #endif ++#endif + + #endif +@@ -85,10 +87,14 @@ + #ifdef MACOSX + #define IAX_SOCKOPTS MSG_DONTWAIT + #else ++#ifdef __FreeBSD__ ++#define IAX_SOCKOPTS MSG_DONTWAIT ++#else + #ifdef SOLARIS + #define IAX_SOCKOPTS MSG_DONTWAIT + #else /* Linux and others */ + #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL ++#endif + #endif + #endif + #endif -- cgit