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

25 lines
517 B
Diff
Raw Normal View History

2019-05-22 21:15:06 +02:00
--- ../cpl_port.h.orig 2019-05-22 19:06:54.229937519 +0200
+++ ./port/cpl_port.h 2019-05-22 21:13:34.409881701 +0200
@@ -136,11 +136,10 @@
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
-#include <limits.h>
+#include <linux/limits.h>
#include <time.h>
@@ -1118,7 +1117,7 @@
#include <set>
#include <string>
#include <cstddef>
-#include <limits>
+#include <linux/limits>
#include <sstream>
#include <fstream>
#include <algorithm>