vcpkg/ports/microsoft-signalr/fix-miss-header.patch

37 lines
1.1 KiB
Diff

diff --git a/src/signalrclient/binary_message_parser.h b/src/signalrclient/binary_message_parser.h
index 349b979..f33533d 100644
--- a/src/signalrclient/binary_message_parser.h
+++ b/src/signalrclient/binary_message_parser.h
@@ -5,6 +5,7 @@
#pragma once
#ifdef USE_MSGPACK
+#include <cstddef>
namespace signalr
{
diff --git a/src/signalrclient/signalr_client_config.cpp b/src/signalrclient/signalr_client_config.cpp
index adbc3ae..dbca837 100644
--- a/src/signalrclient/signalr_client_config.cpp
+++ b/src/signalrclient/signalr_client_config.cpp
@@ -5,6 +5,7 @@
#include "stdafx.h"
#include "signalrclient/signalr_client_config.h"
#include "signalr_default_scheduler.h"
+#include <stdexcept>
namespace signalr
{
diff --git a/src/signalrclient/transport_factory.cpp b/src/signalrclient/transport_factory.cpp
index 7443672..a8add79 100644
--- a/src/signalrclient/transport_factory.cpp
+++ b/src/signalrclient/transport_factory.cpp
@@ -6,6 +6,7 @@
#include "transport_factory.h"
#include "websocket_transport.h"
#include "signalrclient/websocket_client.h"
+#include <stdexcept>
namespace signalr
{