aports/community/bareos/path-mounted.patch
Valery Kartel b32c9583cb community/bareos: upgrade to 16.2.6, fixes
- many fixes in APKBUILD
- add perl as dependency, because some scripts use it
- add bat subpackage (qt administration tool)
- remove conf.d files because they are obsolete and incorrect
- rewrite init.d scripts
2017-08-28 06:46:19 +00:00

16 lines
335 B
Diff

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"