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"