termux-packages/packages/alpine/os_lnx.h.patch

13 lines
300 B
Diff

--- ./imap/src/osdep/unix/os_lnx.h.orig 2020-11-04 19:47:00.079064606 +0000
+++ ./imap/src/osdep/unix/os_lnx.h 2020-11-04 19:48:23.228984716 +0000
@@ -58,6 +58,9 @@
#define direct dirent
+#define L_SET SEEK_SET
+#define FNDELAY O_NDELAY
+
int safe_flock (int, int);
#define flock safe_flock