PKGBUILDs/extra/davfs2/davfs2-1.4.5-glibc212.patch
2011-02-01 00:50:01 -05:00

57 lines
1 KiB
Diff

--- src/dav_coda.c
+++ src/dav_coda.c
@@ -52,6 +52,9 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#include "defaults.h"
#include "mount_davfs.h"
--- src/dav_fuse.c
+++ src/dav_fuse.c
@@ -41,6 +41,12 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#include "defaults.h"
#include "mount_davfs.h"
--- src/kernel_interface.c
+++ src/kernel_interface.c
@@ -44,6 +44,12 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
--- src/webdav.c
+++ src/webdav.c
@@ -47,6 +47,12 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#include <ne_alloc.h>
#include <ne_auth.h>