[pacman-dev] [PATCH 3/4] Add an include for signal.h when needed

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Apr 16 20:08:19 UTC 2021


On 04/16/21 at 03:42pm, Mark Weiman wrote:
> On Linux, signal.h is not required to have access to the signal
> constants. On FreeBSD, this is not the case and requires signal.h to be
> explicitly included.
> 
> This patch checks if SIGINT can be used without signal.h and if not,
> make sure its included in the files that need it.

No need for the check; just include signal.h wherever we use it.


More information about the pacman-dev mailing list