summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/davfs2/files/include-compiler.patch')
-rw-r--r--net-fs/davfs2/files/include-compiler.patch19
1 files changed, 15 insertions, 4 deletions
diff --git a/net-fs/davfs2/files/include-compiler.patch b/net-fs/davfs2/files/include-compiler.patch
index 995a8ec66a72..5be460b2ea1a 100644
--- a/net-fs/davfs2/files/include-compiler.patch
+++ b/net-fs/davfs2/files/include-compiler.patch
@@ -1,6 +1,6 @@
diff -ur davfs2-0.2.4.orig/src/davfsd.c davfs2-0.2.4/src/davfsd.c
---- davfs2-0.2.4.orig/src/davfsd.c 2005-07-18 23:09:23.000000000 +0200
-+++ davfs2-0.2.4/src/davfsd.c 2005-07-18 23:09:48.000000000 +0200
+--- davfs2-0.2.4.orig/src/davfsd.c 2005-08-21 10:50:08.000000000 +0200
++++ davfs2-0.2.4/src/davfsd.c 2005-08-21 10:50:16.000000000 +0200
@@ -33,6 +33,7 @@
/* Linux Kernel Source */
/* avoid inclusion of kernel time.h, since it conflicts with userland time.h */
@@ -10,8 +10,8 @@ diff -ur davfs2-0.2.4.orig/src/davfsd.c davfs2-0.2.4/src/davfsd.c
/* Neon */
diff -ur davfs2-0.2.4.orig/src/davfsd.h davfs2-0.2.4/src/davfsd.h
---- davfs2-0.2.4.orig/src/davfsd.h 2005-07-18 23:09:23.000000000 +0200
-+++ davfs2-0.2.4/src/davfsd.h 2005-07-18 23:09:53.000000000 +0200
+--- davfs2-0.2.4.orig/src/davfsd.h 2005-08-21 10:50:08.000000000 +0200
++++ davfs2-0.2.4/src/davfsd.h 2005-08-21 10:50:16.000000000 +0200
@@ -25,6 +25,7 @@
/* Linux Kernel Source */
/* avoid inclusion of kernel time.h, since it conflicts with userland time.h */
@@ -20,3 +20,14 @@ diff -ur davfs2-0.2.4.orig/src/davfsd.h davfs2-0.2.4/src/davfsd.h
#include <linux/coda.h>
#ifndef DIRBLKSIZ
+diff -ur davfs2-0.2.4.orig/src/util.c davfs2-0.2.4/src/util.c
+--- davfs2-0.2.4.orig/src/util.c 2005-08-21 10:50:38.000000000 +0200
++++ davfs2-0.2.4/src/util.c 2005-08-21 10:47:40.000000000 +0200
+@@ -34,6 +34,7 @@
+ /* Linux coda head file */
+ /* avoid inclusion of kernel time.h, since it conflicts with userland time.h */
+ #define _LINUX_TIME_H
++#include <linux/compiler.h>
+ #include <linux/coda.h>
+
+ /* Neon */