[icecast-dev] [patch] ices CVS tree and potential problems compiling on Solaris

Karl Heyes
Fri, 06 Aug 2004 14:57:31 -0000

On Thu, 2003-05-08 at 21:54, David Flynn wrote:
> Hello icecast-dev,
>
> this patch against the current ices module CVS tree fixes the following:
>
> PROBLEM:
>   use of #include "thread.h" in (of all things) im_sun.[ch] can
>   cause a compile error.
>
> REPRODUCTION:
>   Compile source tree on Solaris 2.8 using gcc3.2.3 (SMCgcc)
>   from sunfreeware.com will fail with a name space collision, eg:
>      thread/thread.h:66: conflicting types for `mutex_t'
>       /usr/include/synch.h:51: previous declaration of `mutex_t'

thanks for reminding me, I did see this briefly when I last used a
solaris box.  This and a few others places were the reason why the extra
subdir element was added to the #include lines, obviously I missed one.

karl.