Fix build with recent headers

This commit is contained in:
Tilman Keskinoz
2006-09-24 12:16:37 +00:00
parent 87035fc7ef
commit e569baaf8d
2 changed files with 23 additions and 0 deletions

View 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)

View 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