void-packages/srcpkgs/MEGAcmd/patches/musl.patch

14 lines
306 B
Diff

--- src/configurationmanager.h 2018-10-03 16:27:51.311763612 +0200
+++ - 2018-10-03 16:29:44.035272722 +0200
@@ -23,6 +23,10 @@
#include <map>
#include <set>
+#ifndef _WIN32
+#include <sys/file.h> // LOCK_EX and LOCK_NB
+#endif
+
#define CONFIGURATIONSTOREDBYVERSION -2
class ConfigurationManager
{