Don't include the full <sys/signal.h> in headers that just need sigset_t.
authorSascha Wildner <saw@online.de>
Thu, 23 May 2019 06:41:49 +0000 (08:41 +0200)
committerSascha Wildner <saw@online.de>
Thu, 23 May 2019 06:41:49 +0000 (08:41 +0200)
commit3f7c286b39c9a686b7b0b9ac465171b911355807
treef6b0833aacafd8b0ff7d4adb4e84d3d0eda8a4ac
parentf872b7ca718e34eabdf2b2ece571bff7db6bf164
Don't include the full <sys/signal.h> in headers that just need sigset_t.

Namely, <select.h> and <spawn.h>.

Split it out into a separate header, <sys/_sigset_t.h> and include that
in <spawn.h> and <sys/select.h>.

This cleans up these two headers' name space considerably.

Thanks to zrj for testing with a dports bulk build.
include/spawn.h
sys/sys/_sigset.h [new file with mode: 0644]
sys/sys/select.h
sys/sys/signal.h