Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff -ur davfs2-1.4.5-old/src/dav_coda.c davfs2-1.4.5-new/src/dav_coda.c
2--- davfs2-1.4.5-old/src/dav_coda.c 2009-06-04 20:30:32.000000000 +0200
3+++ davfs2-1.4.5-new/src/dav_coda.c 2011-02-09 19:51:22.260530572 +0100
4@@ -52,6 +52,10 @@
5 #ifdef HAVE_SYS_TYPES_H
6 #include <sys/types.h>
7 #endif
8+#ifdef HAVE_SYS_STAT_H
9+#include <sys/stat.h>
10+#endif
11+
12
13 #include "defaults.h"
14 #include "mount_davfs.h"
15diff -ur davfs2-1.4.5-old/src/dav_fuse.c davfs2-1.4.5-new/src/dav_fuse.c
16--- davfs2-1.4.5-old/src/dav_fuse.c 2009-06-30 20:06:44.000000000 +0200
17+++ davfs2-1.4.5-new/src/dav_fuse.c 2011-02-09 19:52:23.938220524 +0100
18@@ -41,6 +41,12 @@
19 #ifdef HAVE_UNISTD_H
20 #include <unistd.h>
21 #endif
22+#ifdef HAVE_SYS_TYPES_H
23+#include <sys/types.h>
24+#endif
25+#ifdef HAVE_SYS_STAT_H
26+#include <sys/stat.h>
27+#endif
28
29 #include "defaults.h"
30 #include "mount_davfs.h"