termux-packages/packages/gdal/cpl_port.h.patch

21 lines
457 B
Diff
Raw Normal View History

--- ../cpl_port.h
+++ ./port/cpl_port.h
2019-05-24 14:34:22 +02:00
@@ -140,7 +140,7 @@
2019-05-22 21:15:06 +02:00
#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
2019-05-22 21:15:06 +02:00
#include <set>
#include <string>
#include <cstddef>
-#include <limits>
+#include <linux/limits>
#include <sstream>
#include <fstream>
#include <algorithm>