[Mono-bugs] [Bug 670076] Include sys/types.h for pid_t on WIN32

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 19 06:21:47 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=670076

https://bugzilla.novell.com/show_bug.cgi?id=670076#c4


Hib Eris <hib at hiberis.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #412634|0                           |1
        is obsolete|                            |

--- Comment #4 from Hib Eris <hib at hiberis.nl> 2011-02-19 12:21:46 CET ---
Created an attachment (id=415145)
 --> (http://bugzilla.novell.com/attachment.cgi?id=415145)
0001-Move-GPid-definition-to-eglib-config.h.patch

In reply to comment 3:
"Fixed in HEAD/2.10 by adding #ifdef HAVE_SYS_TYPES_H around the #includes."

This does not work in glib.h as it does not (and should not) include config.h
and thus does not know about HAVE_SYS_TYPES_H.

This new patch moves the definition of GPid from glib.h to eglib-config.h and
determines the the type of pid_t in configure.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list