From: Alexander Traud Date: Sat, 23 Jun 2018 06:40:11 +0000 (+0200) Subject: chan_ooh323: IPTOS_MINCOST is not defined on Solaris. X-Git-Tag: 13.23.0-rc1~100^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=167baff94419bf6ad1cd2a9fd446e64dd2e4c735;p=thirdparty%2Fasterisk.git chan_ooh323: IPTOS_MINCOST is not defined on Solaris. Furthermore, is required for SIOCGIF*. ASTERISK-27938 Change-Id: Idc9153ece769944765b66122efb11728d8d8ebde --- diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index fe3ccac44e..a883ace2e0 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -73,6 +73,10 @@ #include "chan_ooh323.h" #include +#ifndef IPTOS_MINCOST +#define IPTOS_MINCOST 0x02 +#endif + #define FORMAT_STRING_SIZE 512 /* Defaults */ diff --git a/addons/ooh323c/src/ooSocket.c b/addons/ooh323c/src/ooSocket.c index 9a34205210..31c3732ed6 100644 --- a/addons/ooh323c/src/ooSocket.c +++ b/addons/ooh323c/src/ooSocket.c @@ -17,6 +17,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") +#ifdef SOLARIS +#include +#endif + #include "asterisk/io.h" #include "asterisk/lock.h" #include "asterisk/utils.h"