qlib.c (about line 1135 in qlib.c)
ign_sigaction.sa_flags = (SA_RESTART | SA_NOMASK);
SA_NOMASK is not defined for solaris; but seems to
have the same meaning as SA_NODEFER (according to the
linux sigaction man page which describes them as
having the same effect).
Maybe we could just use SA_DEFER instead? Or do we
need some more autoconf magic (not my line really).