Commit c02a9071 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

compat: the official way to include WSA functions is with winsock2.h

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e186c04b
......@@ -25,7 +25,7 @@
#ifdef _WIN32
# include <errno.h>
# include <stdlib.h>
# include <mswsock.h>
# include <winsock2.h>
ssize_t recvmsg(int fd, struct msghdr *msg, int flags)
{
......
......@@ -25,7 +25,7 @@
#ifdef _WIN32
# include <errno.h>
# include <stdlib.h>
# include <mswsock.h>
# include <winsock2.h>
ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment