termux-packages/packages/gdal/cpl_port.h.patch
Wetitpig d2e73c7ebf Bump GDAL to version 3.3.2 (#76)
* Bump GDAL to version 3.3.2
2021-12-04 14:36:37 +01:00

21 lines
457 B
Diff

--- ../cpl_port.h
+++ ./port/cpl_port.h
@@ -140,7 +140,7 @@
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
-#include <limits.h>
+#include <linux/limits.h>
#include <time.h>
@@ -1085,7 +1085,7 @@ inline bool operator!= (const bool& one, const MSVCPedanticBool& other) { return
#include <set>
#include <string>
#include <cstddef>
-#include <limits>
+#include <linux/limits>
#include <sstream>
#include <fstream>
#include <algorithm>