mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Fix sockaddr include in discoveryservice.c
This commit is contained in:
parent
12c14fed05
commit
f4d255eb5b
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
static void *discovery_service_thread_func(void *user);
|
||||
static void discovery_service_ping(ChiakiDiscoveryService *service);
|
||||
static void discovery_service_drop_old_hosts(ChiakiDiscoveryService *service);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue