Files
MINGW-packages/mingw-w64-msmtp/0001-include-winsock2.patch
Johannes Schindelin 9c77075aa3 Add the msmtp package
This package provides a minimal SMTP client.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-08-25 11:27:54 +00:00

14 lines
330 B
Diff

diff --git a/src/msmtp.c b/src/msmtp.c
index 3c21d2e..fc1d408 100644
--- a/src/msmtp.c
+++ b/src/msmtp.c
@@ -78,6 +78,8 @@ extern int optind;
/* Default file names. */
#ifdef W32_NATIVE
+#include <winsock2.h>
+
#define SYSCONFFILE "msmtprc.txt"
#define USERCONFFILE "msmtprc.txt"
#define SYSNETRCFILE "netrc.txt"