1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/chinese/pine4/files/patch-ab

16 lines
371 B
Plaintext
Raw Normal View History

--- imap/src/osdep/unix/os_bsi.h.orig Sat Jul 11 17:29:33 1998
+++ imap/src/osdep/unix/os_bsi.h Tue Jul 28 08:34:59 1998
@@ -37,7 +37,12 @@
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
+#ifdef __FreeBSD__
+#include <dirent.h>
+#define direct dirent
+#else
#include <sys/dir.h>
+#endif
#include <fcntl.h>
#include <syslog.h>
#include <sys/file.h>