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

13 lines
309 B
Diff

--- src/findlib/fstype.c 2016-09-29 15:59:30.000000000 +0200
+++ 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