mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Fix Windows Build
This commit is contained in:
parent
cf6829287a
commit
1045cfe27d
1 changed files with 1 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#define strcasecmp _stricmp
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -561,8 +562,6 @@ typedef struct session_response_t {
|
|||
bool success;
|
||||
} SessionResponse;
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static void parse_session_response(SessionResponse *response, ChiakiHttpResponse *http_response)
|
||||
{
|
||||
memset(response, 0, sizeof(SessionResponse));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue