add missing header; from Markus Lude, thanks!

OK jeremy@
This commit is contained in:
gsoares 2012-01-12 23:37:47 +00:00
parent b31be191b8
commit 1440bdc6f0
3 changed files with 25 additions and 1 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.29 2012/01/11 22:56:07 gsoares Exp $
# $OpenBSD: Makefile,v 1.30 2012/01/12 23:37:47 gsoares Exp $
COMMENT = SMTP plugin for MUAs
DISTNAME = msmtp-1.4.27
CATEGORIES = mail
REVISION = 0
HOMEPAGE = http://msmtp.sourceforge.net/
MAINTAINER = Gleydson Soares <gsoares@openbsd.org>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_msmtp_c,v 1.1 2012/01/12 23:37:47 gsoares Exp $
--- src/msmtp.c.orig Thu Jan 5 15:28:34 2012
+++ src/msmtp.c Tue Jan 10 21:47:19 2012
@@ -42,6 +42,7 @@ extern int optind;
#include <unistd.h>
#include <fcntl.h>
#ifdef HAVE_ARPA_INET_H
+# include <netinet/in.h>
# include <arpa/inet.h>
#endif
#ifdef HAVE_NETDB_H

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_net_c,v 1.1 2012/01/12 23:37:47 gsoares Exp $
--- src/net.c.orig Tue Apr 26 23:36:45 2011
+++ src/net.c Tue Jan 10 21:47:28 2012
@@ -37,6 +37,7 @@
# include <sys/socket.h>
#endif
#ifdef HAVE_ARPA_INET_H
+# include <netinet/in.h>
# include <arpa/inet.h>
#endif
#ifdef HAVE_NETDB_H