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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 7 14:34:16 EST 2011


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

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


           Summary: Include sys/types.h for pid_t on WIN32
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: hib at hiberis.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

On windows, pid_t is defined in sys/types.h. It should be included when pid_t
is used.

The following two patches do this for mono/mini/mini.h and eglib/src/glib.h.

These changes are necessary for compiling with a mingw-w64 compiler.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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