packages/mail/fdm/patches/030-musl_ACCESSPERMS.patch
Dirk Neukirchen 65f803ee20 fdm: fix musl compile
musl does not define some macros so define them ourselves

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-19 11:37:16 +02:00

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);