aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/yahoo/yahoo_httplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/yahoo/yahoo_httplib.c')
-rw-r--r--protocols/yahoo/yahoo_httplib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/yahoo/yahoo_httplib.c b/protocols/yahoo/yahoo_httplib.c
index 1b084992..dbbe2a84 100644
--- a/protocols/yahoo/yahoo_httplib.c
+++ b/protocols/yahoo/yahoo_httplib.c
@@ -50,6 +50,8 @@ char *strchr (), *strrchr ();
#include "yahoo_debug.h"
#ifdef __MINGW32__
# include <winsock2.h>
+# define write(a,b,c) send(a,b,c,0)
+# define read(a,b,c) recv(a,b,c,0)
# define snprintf _snprintf
#endif