ok, I saw the types.h file and suspected so. Thank you for confirming.

On Fri, Jul 11, 2014 at 12:04 AM, Kai Tietz <ktiet...@googlemail.com> wrote:

> 2014-07-11 2:17 GMT+02:00 Adam ffa <adam....@gmail.com>:
> > hi,
> >
> >  I'm receiving the error "./glib.h:671:1: error: unknown type name
> 'pid_t'"
> > when building eglib (a part of mono). I don't have NO_OLDNAMES defined,
> so
> > I'm lost as to why pid_t is unknown.
> >
> > other information that may be pertinent:
> > eglib has a separate config.h (eglib-config.h) for msvc called
> > eglib-config.hw which has a pid_t typedef, but I'm using a cygwin and
> > mingw-w64 combo.
> > I searched around (mailing list, forum, skynet, ...) and only found
> > discussions relevant to errors from defining pid_t more than once.
>
> Well, it might be that glib.h simply misses to include sys/types.h
> header.  This is actually the place mingw-w64 typedefs pid_t.
>
> Regards,
> Kai
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to