aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index b2d73ce1b..1caf65464 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -176,8 +176,10 @@ NOIMPL(ioctl,int fd UNUSED_PARAM, int code UNUSED_PARAM,...);
176 176
177#ifdef CONFIG_WIN32_NET 177#ifdef CONFIG_WIN32_NET
178int mingw_socket(int domain, int type, int protocol); 178int mingw_socket(int domain, int type, int protocol);
179int mingw_connect(int sockfd, struct sockaddr *sa, size_t sz);
179 180
180# define socket mingw_socket 181# define socket mingw_socket
182# define connect mingw_connect
181#endif 183#endif
182NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); 184NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM);
183NOIMPL(mingw_listen,SOCKET s UNUSED_PARAM,int backlog UNUSED_PARAM); 185NOIMPL(mingw_listen,SOCKET s UNUSED_PARAM,int backlog UNUSED_PARAM);