vcpkg/ports/iceoryx/add-include-chrono.patch

13 lines
428 B
Diff
Raw Permalink Normal View History

diff --git a/iceoryx_hoofs/platform/win/source/time.cpp b/iceoryx_hoofs/platform/win/source/time.cpp
index 4c2ab2d..4a7074b 100644
--- a/iceoryx_hoofs/platform/win/source/time.cpp
+++ b/iceoryx_hoofs/platform/win/source/time.cpp
@@ -16,6 +16,7 @@
// SPDX-License-Identifier: Apache-2.0
#include "iceoryx_hoofs/platform/time.hpp"
+#include <chrono>
static std::chrono::nanoseconds getNanoSeconds(const timespec& value)
{