summaryrefslogtreecommitdiff
path: root/academic/qgis/qgis-1.7.4-headers.patch
blob: 2bf3ce681216911c0d35d1877d3f0c5eefd26599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -u -r qgis-1.7.4/src/core/spatialindex/storagemanager/DiskStorageManager.cc qgis-1.7.4_patched/src/core/spatialindex/storagemanager/DiskStorageManager.cc
--- qgis-1.7.4/src/core/spatialindex/storagemanager/DiskStorageManager.cc	2012-02-19 20:41:41.000000000 +0000
+++ qgis-1.7.4_patched/src/core/spatialindex/storagemanager/DiskStorageManager.cc	2012-04-10 11:59:14.835027450 +0100
@@ -19,6 +19,7 @@
 //  Email:
 //    mhadji@gmail.com
 
+#include <unistd.h>
 #include "../spatialindex/SpatialIndexImpl.h"
 
 #include <fcntl.h>
diff -u -r qgis-1.7.4/src/core/spatialindex/tools/TemporaryFile.cc qgis-1.7.4_patched/src/core/spatialindex/tools/TemporaryFile.cc
--- qgis-1.7.4/src/core/spatialindex/tools/TemporaryFile.cc	2012-02-19 20:41:41.000000000 +0000
+++ qgis-1.7.4_patched/src/core/spatialindex/tools/TemporaryFile.cc	2012-04-10 11:26:05.611021572 +0100
@@ -20,6 +20,7 @@
 //    mhadji@gmail.com
 
 #include <stdio.h>
+#include <unistd.h>
 
 #include <Tools.h>