mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
fdm: fix musl compile
musl does not define some macros so define them ourselves Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/file.c
|
||||
+++ b/file.c
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
#include "fdm.h"
|
||||
|
||||
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
|
||||
+
|
||||
int mklock(u_int, const char *);
|
||||
void rmlock(u_int, const char *);
|
||||
int lockfd(u_int, int);
|
||||
Reference in New Issue
Block a user