fix: windows build

This commit is contained in:
CJ van den Berg 2026-04-15 12:46:53 +02:00
parent 3a321ecfe0
commit 469e26c0d8
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 9 additions and 0 deletions

View file

@ -12,9 +12,11 @@ void install_remote_debugger();
void install_backtrace();
void install_jitdebugger();
#if !defined(_WIN32)
void sighdl_debugger(int no, siginfo_t * /*sigi*/, void * /*uco*/);
void sighdl_remote_debugger(int no, siginfo_t * /*sigi*/, void * /*uco*/);
void sighdl_backtrace(int no, siginfo_t * /*sigi*/, void * /*uco*/);
#endif
#ifdef __cplusplus
}

View file

@ -6,7 +6,11 @@ extern "C" {
#endif
#include <inttypes.h>
#if defined(_WIN32)
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
#endif
#include <stdint.h>
struct thespian_tcp_acceptor_handle;