[Bug 207079] #include <signal.h> doesn't make ucontext_t available

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 10 14:35:09 UTC 2016


            Bug ID: 207079
           Summary: #include <signal.h> doesn't make ucontext_t available
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: freebsd-standards at FreeBSD.org
          Reporter: lantw44 at gmail.com

According to POSIX standard (
including signal.h should define the mcontext_t and the ucontext_t type.

However, this doesn't work on FreeBSD. Compiling this simple program:
#include <signal.h>
int main (int argc, char *argv[]) { ucontext_t u; }

causes this error to be showed:
<filename.c>:2:37: error: use of undeclared identifier 'ucontext_t'

This problem also causes the current WebKit trunk build to fail. Can this
problem be fixed, so we don't have to add a workaround for it in WebKit? I am
using FreeBSD 10.3-BETA1.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-standards mailing list