aports/main/bacula/bacula-7.4.0-path-mounted.patch
2016-05-17 09:50:02 +00:00

15 lines
422 B
Diff

diff --git a/src/findlib/fstype.c b/src/findlib/fstype.c
index ab3b206..21f5754 100644
--- a/src/findlib/fstype.c
+++ b/src/findlib/fstype.c
@@ -46,6 +46,10 @@
#define is_rootfs(x) bstrcmp("rootfs", x)
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/proc/mounts"
+#endif /* _PATH_MOUNTED */
+
#if defined(HAVE_GETMNTINFO) || defined(HAVE_GETMNTENT)
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
#endif