--- a/core/src/lib/mntent_cache.cc +++ b/core/src/lib/mntent_cache.cc @@ -56,6 +56,10 @@ * Marco van Wieringen, August 2009 */ +#ifndef _PATH_MOUNTED +# define _PATH_MOUNTED "/proc/mounts" +#endif + #include "include/bareos.h" #include "mntent_cache.h" #include "lib/dlist.h"