musl does not define some macros so define them ourselves Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
11 lines
209 B
Diff
11 lines
209 B
Diff
--- 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);
|