Fix Windows Build

This commit is contained in:
Florian Märkl 2019-10-11 15:43:35 +02:00
commit 1045cfe27d
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -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));