try to work around old std libraries.

This commit is contained in:
Kelvin Sherlock 2019-12-10 22:11:29 -05:00
parent 06bdef4d80
commit 6fb0bf8532
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,6 @@
/* c++17 */
#include <algorithm>
#include <charconv>
#include <string>
#include <string_view>
#include <system_error>
@ -9,6 +8,11 @@
#include <utility>
#include <vector>
/* old version of stdlib have this stuff in utility */
#if __has_include(<charconv>)
#include <charconv>
#endif
#include <cstdint>
#include <cassert>
#include <cstdio>