0006-fix-gcc13.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. diff --git a/thirdparty/vhacd/inc/vhacdICHull.h b/thirdparty/vhacd/inc/vhacdICHull.h
  2. index 132bdcfb3e..925584cf52 100644
  3. --- a/thirdparty/vhacd/inc/vhacdICHull.h
  4. +++ b/thirdparty/vhacd/inc/vhacdICHull.h
  5. @@ -18,6 +18,10 @@
  6. #include "vhacdManifoldMesh.h"
  7. #include "vhacdVector.h"
  8. +// -- GODOT start --
  9. +#include <cstdint>
  10. +// -- GODOT end --
  11. +
  12. namespace VHACD {
  13. //! Incremental Convex Hull algorithm (cf. http://cs.smith.edu/~orourke/books/ftp.html ).
  14. enum ICHullError {
  15. diff --git a/thirdparty/vhacd/inc/vhacdManifoldMesh.h b/thirdparty/vhacd/inc/vhacdManifoldMesh.h
  16. index a48f53c5c5..5eed4e13aa 100644
  17. --- a/thirdparty/vhacd/inc/vhacdManifoldMesh.h
  18. +++ b/thirdparty/vhacd/inc/vhacdManifoldMesh.h
  19. @@ -18,6 +18,11 @@ All rights reserved.
  20. #include "vhacdCircularList.h"
  21. #include "vhacdSArray.h"
  22. #include "vhacdVector.h"
  23. +
  24. +// -- GODOT start --
  25. +#include <cstdint>
  26. +// -- GODOT end --
  27. +
  28. namespace VHACD {
  29. class TMMTriangle;
  30. class TMMEdge;
  31. @@ -139,4 +144,4 @@ private:
  32. friend class ICHull;
  33. };
  34. }
  35. -#endif // VHACD_MANIFOLD_MESH_H
  36. \ No newline at end of file
  37. +#endif // VHACD_MANIFOLD_MESH_H