mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 13:33:13 -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
|
#ifdef _WIN32
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#define strcasecmp _stricmp
|
||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
@ -561,8 +562,6 @@ typedef struct session_response_t {
|
||||||
bool success;
|
bool success;
|
||||||
} SessionResponse;
|
} SessionResponse;
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
static void parse_session_response(SessionResponse *response, ChiakiHttpResponse *http_response)
|
static void parse_session_response(SessionResponse *response, ChiakiHttpResponse *http_response)
|
||||||
{
|
{
|
||||||
memset(response, 0, sizeof(SessionResponse));
|
memset(response, 0, sizeof(SessionResponse));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue