summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-09-27 09:54:02 -0600
committerEduardo Chappa <chappa@washington.edu>2020-09-27 09:54:02 -0600
commit2f6e4c8855e3ea23cbbfcb1a91ea10abbda29d85 (patch)
treec025730204ef2ef0ceb40c2eb60a5788fd083f33 /imap
parent90c9fe5a45ae50ef1c93ad615f549f1ea7f69a33 (diff)
downloadalpine-2f6e4c8855e3ea23cbbfcb1a91ea10abbda29d85.tar.xz
* remove warning compilation about safe_flock not defined in compilation
in Linux.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/osdep/unix/os_lnx.h1
-rw-r--r--imap/src/osdep/unix/os_slx.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/osdep/unix/os_lnx.h b/imap/src/osdep/unix/os_lnx.h
index ee2d76d1..1d86ac38 100644
--- a/imap/src/osdep/unix/os_lnx.h
+++ b/imap/src/osdep/unix/os_lnx.h
@@ -58,6 +58,7 @@
#define direct dirent
+int safe_flock (int, int);
#define flock safe_flock
#define utime portable_utime
diff --git a/imap/src/osdep/unix/os_slx.h b/imap/src/osdep/unix/os_slx.h
index 8aec345e..c6590c50 100644
--- a/imap/src/osdep/unix/os_slx.h
+++ b/imap/src/osdep/unix/os_slx.h
@@ -58,6 +58,7 @@
#define direct dirent
+int safe_flock (int, int);
#define flock safe_flock
#define utime portable_utime