mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
FS-7728: fix windows build issues
This commit is contained in:
1 parent
25d9184e10
commit
240bf74d3a
9 files changed
+63
-10
No files matched your search
@@ -38,6 +38,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
|
||||
@@ -43,6 +43,7 @@ extern "C" {
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef WIN32
|
||||
#include <ws2tcpip.h> // struct 'sockaddr_in6'
|
||||
#include <WinSock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
|
||||
Reference in new issue
Block a user