Commit c4a0384b authored by Youness Alaoui's avatar Youness Alaoui

fix win32 compat for stun utils

parent dd37edb7
...@@ -43,8 +43,13 @@ ...@@ -43,8 +43,13 @@
#include "stunmessage.h" #include "stunmessage.h"
#ifdef _WIN32
#include <winsock2.h>
typedef size_t socklen_t;
#else
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#endif
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C" {
......
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