From 6fb0bf8532338f4ab40f49d6d70484fd1d860a23 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 10 Dec 2019 22:11:29 -0500 Subject: [PATCH] try to work around old std libraries. --- link.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/link.cpp b/link.cpp index 7920f7f..a7fbf01 100644 --- a/link.cpp +++ b/link.cpp @@ -1,7 +1,6 @@ /* c++17 */ #include -#include #include #include #include @@ -9,6 +8,11 @@ #include #include +/* old version of stdlib have this stuff in utility */ +#if __has_include() +#include +#endif + #include #include #include