summaryrefslogtreecommitdiff
path: root/geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc')
-rw-r--r--geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc b/geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc
new file mode 100644
index 00000000000..054b7fcd18e
--- /dev/null
+++ b/geography/qgis/patches/patch-src_core_spatialindex_tools_TemporaryFile.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_core_spatialindex_tools_TemporaryFile.cc,v 1.1 2013/05/23 15:03:27 joerg Exp $
+
+--- src/core/spatialindex/tools/TemporaryFile.cc.orig 2013-05-23 14:06:11.000000000 +0000
++++ src/core/spatialindex/tools/TemporaryFile.cc
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+
+ #include <Tools.h>
++#include <unistd.h>
+
+ #ifdef WIN32
+ #include <io.h>