Additional port changes: * Switched SF->GitHub * Added LICENSE_FILE * Added USES=ssl * Added the BSD patch (upstreamed) * Simplified *install target accordingly PR: 224817 Submitted by: jjuanino@gmail.com (maintainer) Approved by: tcberner (mentor, implicit)
18 lines
354 B
C
18 lines
354 B
C
--- imap.c.orig 2018-02-20 18:43:53 UTC
|
|
+++ imap.c
|
|
@@ -9,11 +9,15 @@
|
|
#include <time.h>
|
|
#include <poll.h>
|
|
#include <signal.h>
|
|
+#include <sys/socket.h>
|
|
#include <sys/wait.h>
|
|
#ifdef USE_OPENSSL
|
|
#include <openssl/ssl.h>
|
|
#include <openssl/err.h>
|
|
#endif
|
|
+#if defined(__FreeBSD__)
|
|
+#define __BSD_VISIBLE 1
|
|
+#endif
|
|
#include "imap.h"
|
|
|
|
struct imap_ll {
|