summaryrefslogtreecommitdiff
path: root/thirdparty/xatlas/build-fix-limits.patch
blob: 00d07371c02955e16b8fd674eb673d4b23e10783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/thirdparty/xatlas/xatlas.h b/thirdparty/xatlas/xatlas.h
index 7e556c6c3..dbf8ca08c 100644
--- a/thirdparty/xatlas/xatlas.h
+++ b/thirdparty/xatlas/xatlas.h
@@ -3,6 +3,9 @@
 #ifndef XATLAS_H
 #define XATLAS_H
 #include <float.h> // FLT_MAX
+// -- GODOT start --
+#include <limits.h> // INT_MAX, UINT_MAX
+// -- GODOT end --
 
 namespace xatlas {