Previously we needed to include headers required by the various sudo*h files. Now those files are more self-sufficient and we should only include headers needed by code in the various .c files.
Don't test SIGLWP on FreeBSD where it is reserved for the thread library and is not listed in sys_signame[].