$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
