[3.4-BIB]fixincludes failure on solaris

Zack Weinberg zack@codesourcery.com
Mon Dec 16 09:47:00 GMT 2002


Jan Hubicka <jh@suse.cz> writes:

> Hi,
> server.c requires SIGKILL to be defined that is defined by signal.h
> not included by system.h.  That fails on solaris.

Odd, I had thought that it was included, but it isn't.

> What is the proper fix?  SHould I include signal.h in system.h and add
> configure bits for that one?

No, as far as I know signal.h is universal.  Apply a patch like the
one you posted, but with the #include <signal.h> AFTER all the other
includes.

zw



More information about the Gcc mailing list