void-packages/srcpkgs/moosefs/patches/fix-musl.patch

18 lines
349 B
Diff

author: maxice8
Upstream: no
Reason: fixes musl compilation
diff --git a/mfsclient/mfsio.c b/mfsclient/mfsio.c
index 2c624e9..cd99a53 100644
--- mfsclient/mfsio.c
+++ mfsclient/mfsio.c
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
+#include <sys/file.h>
#include "MFSCommunication.h"
#include "mastercomm.h"