mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 10:49:01 +08:00
23 lines
729 B
Diff
23 lines
729 B
Diff
|
From 00791acc7c23ac2421102edd42a7fa562cc98bfd Mon Sep 17 00:00:00 2001
|
||
|
From: Krzysztof Rosinski <krzysiek@jrdltd.co.uk>
|
||
|
Date: Wed, 29 Dec 2021 09:47:40 +0100
|
||
|
Subject: [PATCH] fix compilation issue (gcc-11.2.0)
|
||
|
|
||
|
error: 'sleep_for' is not a member of 'std::this_thread'
|
||
|
---
|
||
|
src/common/transport/uart_transport.cpp | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/common/transport/uart_transport.cpp b/src/common/transport/uart_transport.cpp
|
||
|
index 1f063ff2..96e045fb 100644
|
||
|
--- a/src/common/transport/uart_transport.cpp
|
||
|
+++ b/src/common/transport/uart_transport.cpp
|
||
|
@@ -45,6 +45,7 @@
|
||
|
#include <mutex>
|
||
|
#include <sstream>
|
||
|
#include <system_error>
|
||
|
+#include <thread>
|
||
|
|
||
|
#if defined(__APPLE__)
|
||
|
#include <IOKit/serial/ioss.h>
|