0001-pr67-include-missing-cstdint.patch 927 B

12345678910111213141516171819202122232425262728293031
  1. From 1eb9bea38c320b2b588635cffceaaa2a8d434780 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Wed, 25 Jan 2023 22:09:26 -0800
  4. Subject: [PATCH] include missing <cstdint>
  5. gcc 13 moved some includes around and as a result <cstdint> is no longer transitively
  6. included [1]. Explicitly include it for uint{32,64}_t.
  7. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
  8. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  9. Upstream: https://github.com/graeme-hill/crossguid/pull/67
  10. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  11. ---
  12. include/crossguid/guid.hpp | 1 +
  13. 1 file changed, 1 insertion(+)
  14. diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp
  15. index 61e0f17..70966f2 100644
  16. --- a/include/crossguid/guid.hpp
  17. +++ b/include/crossguid/guid.hpp
  18. @@ -29,6 +29,7 @@ THE SOFTWARE.
  19. #include <jni.h>
  20. #endif
  21. +#include <cstdint>
  22. #include <functional>
  23. #include <iostream>
  24. #include <array>