Closed Bug 823240 Opened 9 years ago Closed 9 years ago
.h> on Open BSD to get P _TRACED definition
Since rev 1.127 of <sys/sysctl.h> (see http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/sysctl.h) <sys/proc.h> is not automatically included when <sys/sysctl.h> is included. Thus build of ipc/chromium/src/base/debug_util_posix.cc fails : /usr/obj/firefox-18.0beta3/mozilla-beta/ipc/chromium/src/base/debug_util_posix.cc:103:37: error: use of undeclared identifier 'P_TRACED' being_debugged = (info.KP_FLAGS & P_TRACED) != 0; including the missing #include fixes the build.
Assignee: nobody → landry
Attachment #694051 - Flags: review?(jones.chris.g)
Attachment #694051 - Flags: review?(jones.chris.g) → review+
Comment on attachment 694051 [details] [diff] [review] Include sys/proc.h on OpenBSD [Approval Request Comment] Bug caused by (feature/regressing bug #): OpenBSD's r1.127 of sys/sysctl.h User impact if declined: Local patch to carry on OpenBSD for the next two releases, unhappy maintainer (me) Testing completed (on m-c, etc.): in progress Risk to taking this patch (and alternatives if risky): none String or UUID changes made by this patch: none
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 694051 [details] [diff] [review] Include sys/proc.h on OpenBSD Since this is #def'd, we can take this for FF18. Please land as soon as possible, and no later than 12/26 to make it into FF18.
You need to log in before you can comment on or make changes to this bug.