Why do I get this error: "incomplete type is not allowed" for the variable "action"?
struct sigaction action;
action.sa_handler = handler;
sigemptyset(&action.sa_mask);
action.sa_flags = 0;
sigaction(SIGPROF, &action, NULL);