summaryrefslogtreecommitdiff
path: root/imap/src/osdep/unix
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-03-30 09:35:20 -0600
committerEduardo Chappa <chappa@washington.edu>2021-03-30 09:35:20 -0600
commitb3c7debd83bacac7b076381f8ad4f731391004df (patch)
tree2b9142f8b89d270591e9b16213f3c4d8a4c1cbe1 /imap/src/osdep/unix
parent3ed28970de2b6bb5d1c7b80dbe4374a7d6f53ac2 (diff)
downloadalpine-b3c7debd83bacac7b076381f8ad4f731391004df.tar.xz
* Added line "#include <time.h>" to file imap/src/osdep/unix/os_osx.h
to fix a compilation error in mac, reported by several people. The fix was tested successfuly by Steven Michaud in the following systems: macOS 11.2.3 XCode 12.4 macOS 10.15.7 XCode 11.1 macOS 10.14.6 XCode 10.3 macOS 10.13.6 XCode 9.1 macOS 10.12.6 XCode 8.3.3 OS X 10.11.6 XCode 7.3.1 OS X 10.10.5 XCode 6.1.1 OS X 10.9.5 XCode 6.1.1 See https://trac.macports.org/ticket/61590
Diffstat (limited to 'imap/src/osdep/unix')
-rw-r--r--imap/src/osdep/unix/os_osx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/os_osx.h b/imap/src/osdep/unix/os_osx.h
index 6fcb014d..558106e9 100644
--- a/imap/src/osdep/unix/os_osx.h
+++ b/imap/src/osdep/unix/os_osx.h
@@ -32,7 +32,7 @@
#include <utime.h>
#include <syslog.h>
#include <sys/file.h>
-
+#include <time.h>
/* Mac OS X gets this wrong as of Leopard */