Commit 78213372 authored by Youness Alaoui's avatar Youness Alaoui

add win32 defines for trans.h and add missing includes for stdint

parent 0b8b9bba
...@@ -41,8 +41,18 @@ ...@@ -41,8 +41,18 @@
* @brief STUN client generic transaction layer * @brief STUN client generic transaction layer
*/ */
# include <sys/types.h> #ifdef _WIN32
# include <sys/socket.h> #include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#endif
#include <stdint.h>
#include <sys/types.h>
#include <stdbool.h>
typedef struct stun_trans_s typedef struct stun_trans_s
......
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