summaryrefslogtreecommitdiff
path: root/devel/fastdep/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-20 11:05:54 +0000
committerjoerg <joerg>2005-12-20 11:05:54 +0000
commit06dbe56fc30f958ed70e07d5150e459636c8f546 (patch)
tree6f84f09c3d19e12970074965d8adb5fe8264fb23 /devel/fastdep/patches
parentf6c6667a7e22712cc99555880d9dcf0b89ab7310 (diff)
downloadpkgsrc-06dbe56fc30f958ed70e07d5150e459636c8f546.tar.gz
sys/mman.h needs sys/types.h on DragonFly. Also include sys/stat.h
to get fstat and struct stat on DragonFly.
Diffstat (limited to 'devel/fastdep/patches')
-rw-r--r--devel/fastdep/patches/patch-ab11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/fastdep/patches/patch-ab b/devel/fastdep/patches/patch-ab
index 99157a500b9..16569580801 100644
--- a/devel/fastdep/patches/patch-ab
+++ b/devel/fastdep/patches/patch-ab
@@ -1,9 +1,14 @@
-$NetBSD: patch-ab,v 1.1 2003/12/22 10:31:45 jmmv Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/20 11:05:54 joerg Exp $
---- MappedFile.cc.orig 2003-10-29 17:44:39.000000000 +0100
+--- MappedFile.cc.orig 2003-10-29 16:44:39.000000000 +0000
+++ MappedFile.cc
-@@ -7,6 +7,7 @@
+@@ -4,9 +4,12 @@
+ #include <io.h>
+ #define PATH_MAX MAX_PATH
+ #else
++#include <sys/types.h>
#include <sys/mman.h>
++#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#include <stdio.h>