vcpkg/ports/clockutils/add-missing-thread-header.patch

25 lines
686 B
Diff
Raw Normal View History

diff --git a/include/clockUtils/sockets/TcpSocket.h b/include/clockUtils/sockets/TcpSocket.h
index 3bb97a9..cdd7810 100644
--- a/include/clockUtils/sockets/TcpSocket.h
+++ b/include/clockUtils/sockets/TcpSocket.h
@@ -33,6 +33,7 @@
#include <sstream>
#include <string>
#include <vector>
+#include <thread>
#include "clockUtils/errors.h"
diff --git a/include/clockUtils/sockets/UdpSocket.h b/include/clockUtils/sockets/UdpSocket.h
index c5da451..ea0a518 100644
--- a/include/clockUtils/sockets/UdpSocket.h
+++ b/include/clockUtils/sockets/UdpSocket.h
@@ -33,6 +33,7 @@
#include <queue>
#include <string>
#include <vector>
+#include <thread>
#include "clockUtils/errors.h"