diff options
author | Paul Traina <pst@FreeBSD.org> | 1997-12-07 01:02:52 +0000 |
---|---|---|
committer | Paul Traina <pst@FreeBSD.org> | 1997-12-07 01:02:52 +0000 |
commit | 86407722abb7249852cca908ba9136f687891114 (patch) | |
tree | 9251b3c7daa986482ae1abf5c5b1c60f24cffe44 /mail/imap-uw/files/patch-aa | |
parent | Upgrade to 2.0.4beta (diff) |
Upgrade to match current again (groan)
Notes
Notes:
svn path=/head/; revision=9010
Diffstat (limited to 'mail/imap-uw/files/patch-aa')
-rw-r--r-- | mail/imap-uw/files/patch-aa | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/imap-uw/files/patch-aa b/mail/imap-uw/files/patch-aa new file mode 100644 index 000000000000..76bc895d85b4 --- /dev/null +++ b/mail/imap-uw/files/patch-aa @@ -0,0 +1,21 @@ +--- src/osdep/unix/os_bsi.h Sat Oct 19 10:30:04 1996 ++++ src/osdep/unix/os_bsi.h Thu Nov 20 01:01:00 1997 +@@ -37,7 +37,18 @@ + #include <unistd.h> + #include <string.h> + #include <sys/types.h> ++ ++/* ++ * FreeBSD v3.x and onward whines about <sys/dir.h> being obsolete, so switch ++ * to POSIX semantics. ++ */ ++#if __FreeBSD__ >= 3 ++#include <dirent.h> ++#define direct dirent ++#else + #include <sys/dir.h> ++#endif ++ + #include <fcntl.h> + #include <syslog.h> + #include <sys/file.h> |