--- addons/ooh323c/src/ooSocket.c (Asterisk 13.21.1) +++ addons/ooh323c/src/ooSocket.c (working copy) @@ -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" --- addons/chan_ooh323.c (Asterisk 13.21.1) +++ addons/chan_ooh323.c (working copy) @@ -3045,7 +3045,11 @@ int reload_config(int reload) else if (!strcasecmp(v->value, "reliability")) gTOS = IPTOS_RELIABILITY; else if (!strcasecmp(v->value, "mincost")) +#ifdef IPTOS_MINCOST gTOS = IPTOS_MINCOST; +#else + gTOS = 0x02; +#endif else if (!strcasecmp(v->value, "none")) gTOS = 0; else