diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 4ab90be3a1..6a65b5fff9 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 1a6a7dbe1a..55bb0ac17e 100644 --- a/addons/ooh323c/src/ooSocket.c +++ b/addons/ooh323c/src/ooSocket.c @@ -15,6 +15,10 @@ *****************************************************************************/ #include "asterisk.h" +#ifdef SOLARIS +#include +#endif + #include "asterisk/io.h" #include "asterisk/lock.h" #include "asterisk/utils.h"