void-packages/srcpkgs/bacula-common/patches/fix-musl.patch

13 lines
313 B
Diff

--- a/src/findlib/fstype.c 2016-09-29 15:59:30.000000000 +0200
+++ b/src/findlib/fstype.c 2017-02-19 19:24:02.050639457 +0100
@@ -162,6 +162,9 @@
#include <sys/vfs.h>
#include <mntent.h>
+#ifndef _PATH_MOUNTED
+#include <paths.h>
+#endif
/*
* Linux statfs() does not return the filesystem name type. It