From 58a12b67b24e3ab0848ecddf2013c03350adb93a Mon Sep 17 00:00:00 2001 From: Adam Jiang Date: Wed, 18 May 2022 21:51:45 +0800 Subject: [PATCH] Fix errors on compilation with c++17 --- include/uuid.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uuid.h b/include/uuid.h index b75c9b5..c91f5a0 100644 --- a/include/uuid.h +++ b/include/uuid.h @@ -16,7 +16,12 @@ #include #include #include + +#ifdef UUID_USING_CXX20_SPAN #include +#else +#include +#endif #ifdef _WIN32 @@ -950,4 +955,4 @@ namespace std }; } -#endif /* STDUUID_H */ \ No newline at end of file +#endif /* STDUUID_H */