On Wed, Mar 28, 2012 at 10:48:31PM +0200, Christian Weisgerber wrote:
> Antoine Jacoutot:
> 
> > > These suffer an #error "only <glib.h> can be included directly":
> > >   x11/hs-gtk
> > >   x11/mono-gtk2
> > 
> > Known but I am not able to build either ghc nor mono....
> 
> The offending parts are
> 
>   #include <glib.h>
>   #include <glib/gthread.h>
> 
> and
> 
>   #include <glib/glist.h>
> 
> respectively.  These should just be #include <glib.h>, right?
> I mean, that's what the #error says.

Yup, that's all that is needed.
I didn't fix these because I wanted to be able to build them, but please go 
ahead.

-- 
Antoine

Reply via email to