Fix build with recent headers
This commit is contained in:
11
mail/zmailer/files/patch-smtpserver-smtpetrn.c
Normal file
11
mail/zmailer/files/patch-smtpserver-smtpetrn.c
Normal file
@@ -0,0 +1,11 @@
|
||||
--- smtpserver/smtpetrn.c.orig Sun Sep 24 14:05:20 2006
|
||||
+++ smtpserver/smtpetrn.c Sun Sep 24 14:06:45 2006
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#ifndef HAVE_OPENSSL
|
||||
#include "md5.h"
|
||||
+#else
|
||||
+#include <openssl/md5.h>
|
||||
#endif /* --HAVE_OPENSSL */
|
||||
|
||||
static int local_etrn(SS, name, cp, silence)
|
||||
12
mail/zmailer/files/patch-transports-smtp-smtp.h
Normal file
12
mail/zmailer/files/patch-transports-smtp-smtp.h
Normal file
@@ -0,0 +1,12 @@
|
||||
--- transports/smtp/smtp.h.orig Sun Sep 24 14:10:22 2006
|
||||
+++ transports/smtp/smtp.h Sun Sep 24 14:10:56 2006
|
||||
@@ -69,6 +69,9 @@
|
||||
#include <netinet/tcp.h>
|
||||
#endif
|
||||
|
||||
+#include <sys/types.h>
|
||||
+#include <openssl/md5.h>
|
||||
+
|
||||
#ifndef NFDBITS
|
||||
/*
|
||||
* This stuff taken from the 4.3bsd /usr/include/sys/types.h, but on the
|
||||
Reference in New Issue
Block a user