aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/bareos-path-mounted.patch
blob: 8fb56723f6a1a5df32ef11b98e49b27d0ac7fc1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/lib/mntent_cache.c b/src/lib/mntent_cache.c
index 69cc9f9..b14c8a1 100644
--- a/src/lib/mntent_cache.c
+++ b/src/lib/mntent_cache.c
@@ -54,6 +54,10 @@
  *  Marco van Wieringen, August 2009
  */
 
+#ifndef _PATH_MOUNTED
+# define _PATH_MOUNTED "/proc/mounts"
+#endif
+
 #include "bareos.h"
 #include "mntent_cache.h"