Skip to content

Commit

Permalink
signalhandler.cpp: fixed missing siginfo_t and others with Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Dec 29, 2024
1 parent 6c6736a commit dd2a289
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/signalhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#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)
Expand Down

0 comments on commit dd2a289

Please sign in to comment.