diff --git a/cli/signalhandler.cpp b/cli/signalhandler.cpp index faf324f52d4..24b811c445e 100644 --- a/cli/signalhandler.cpp +++ b/cli/signalhandler.cpp @@ -16,6 +16,10 @@ * along with this program. If not, see . */ +#if defined(__CYGWIN__) +#define _BSD_SOURCE // required to have siginfo_t, SIGSTKSZ, kill(), sigaction and others +#endif + #include "signalhandler.h" #if defined(USE_UNIX_SIGNAL_HANDLING)