newmoon/newmoon-gcc11.patch

31 lines
914 B
Diff
Raw Normal View History

--- a/platform/gfx/2d/BaseRect.h 2021-03-26 00:34:32.000000000 +0300
+++ b/platform/gfx/2d/BaseRect.h 2021-05-06 06:23:09.632574472 +0300
@@ -14,6 +14,7 @@
#include "mozilla/FloatingPoint.h"
#include "mozilla/TypeTraits.h"
#include "Types.h"
+#include <limits>
namespace mozilla {
namespace gfx {
--- a/platform/gfx/2d/Matrix.h 2021-03-26 00:34:32.000000000 +0300
+++ b/platform/gfx/2d/Matrix.h 2021-05-06 06:23:09.635907804 +0300
@@ -16,6 +16,7 @@
#include "mozilla/Attributes.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/FloatingPoint.h"
+#include <limits>
namespace mozilla {
namespace gfx {
--- a/platform/netwerk/base/nsURLParsers.cpp 2021-03-26 00:34:32.000000000 +0300
+++ b/platform/netwerk/base/nsURLParsers.cpp 2021-05-06 06:24:26.052576014 +0300
@@ -11,6 +11,7 @@
#include "nsURLHelper.h"
#include "nsString.h"
#include "nsCRT.h"
+#include <limits>
using namespace mozilla;