You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-fs/davfs2/files/davfs2-1.4.5-glibc212.patch

61 lines
1.1 KiB

http://bugs.gentoo.org/332865
https://savannah.nongnu.org/bugs/?28916
--- 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>