kiss_gcc11-fix.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. diff --git a/platform/gfx/2d/BaseRect.h b/platform/gfx/2d/BaseRect.h
  2. index 57d01ba09..ea8caf755 100644
  3. --- a/platform/gfx/2d/BaseRect.h
  4. +++ b/platform/gfx/2d/BaseRect.h
  5. @@ -15,6 +15,8 @@
  6. #include "mozilla/TypeTraits.h"
  7. #include "Types.h"
  8. +#include <limits>
  9. +
  10. namespace mozilla {
  11. namespace gfx {
  12. diff --git a/platform/gfx/2d/Matrix.h b/platform/gfx/2d/Matrix.h
  13. index d6835c8e6..b38a1d227 100644
  14. --- a/platform/gfx/2d/Matrix.h
  15. +++ b/platform/gfx/2d/Matrix.h
  16. @@ -17,6 +17,8 @@
  17. #include "mozilla/DebugOnly.h"
  18. #include "mozilla/FloatingPoint.h"
  19. +#include <limits>
  20. +
  21. namespace mozilla {
  22. namespace gfx {
  23. diff --git a/platform/netwerk/base/nsURLParsers.h b/platform/netwerk/base/nsURLParsers.h
  24. index 34de99a37..5f41f0159 100644
  25. --- a/platform/netwerk/base/nsURLParsers.h
  26. +++ b/platform/netwerk/base/nsURLParsers.h
  27. @@ -9,6 +9,8 @@
  28. #include "nsIURLParser.h"
  29. #include "mozilla/Attributes.h"
  30. +#include <limits>
  31. +
  32. //----------------------------------------------------------------------------
  33. // base class for url parsers
  34. //----------------------------------------------------------------------------