diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 4ab90be3a16f30851e2633e5534ed9a894c3c00e..6a65b5fff985f0c53a16854a9a81d757cda40019 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -73,6 +73,10 @@ #include "chan_ooh323.h" #include <math.h> +#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 1a6a7dbe1a387b424bd8b63ec683234e7adb3317..55bb0ac17ebd08d063a3e8930b3739ea4962a56a 100644 --- a/addons/ooh323c/src/ooSocket.c +++ b/addons/ooh323c/src/ooSocket.c @@ -15,6 +15,10 @@ *****************************************************************************/ #include "asterisk.h" +#ifdef SOLARIS +#include <sys/sockio.h> +#endif + #include "asterisk/io.h" #include "asterisk/lock.h" #include "asterisk/utils.h"