mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 01:20:31 -04:00
20 lines
512 B
C
20 lines
512 B
C
--- ./src/drv_imap.c.orig Wed Nov 1 08:15:09 2006
|
|
+++ ./src/drv_imap.c Wed Dec 27 21:43:01 2006
|
|
@@ -26,6 +26,7 @@
|
|
|
|
#include <assert.h>
|
|
#include <unistd.h>
|
|
+#include <limits.h>
|
|
#include <sys/mman.h>
|
|
#include <sys/time.h>
|
|
#include <stdlib.h>
|
|
@@ -1243,9 +1244,7 @@
|
|
} else {
|
|
memset( &addr, 0, sizeof(addr) );
|
|
addr.sin_port = htons( srvc->port ? srvc->port :
|
|
-#ifdef HAVE_LIBSSL
|
|
srvc->use_imaps ? 993 :
|
|
-#endif
|
|
143 );
|
|
addr.sin_family = AF_INET;
|
|
|