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

13 lines
375 B
Diff

diff --git a/platform/c++11/platform.h b/platform/c++11/platform.h
index 2c80e0b..1468fab 100644
--- a/platform/c++11/platform.h
+++ b/platform/c++11/platform.h
@@ -16,6 +16,7 @@
#define NSYNC_PLATFORM_CPP11_PLATFORM_H_
/* These C header files are in "C compatibility headers" in C++11. */
+#include <chrono>
#include <string.h>
#include <errno.h>
#include <stdlib.h>