Commit 31b64266 authored by Youness Alaoui's avatar Youness Alaoui

a bit more win32 cmpat

parent c361d8e1
...@@ -38,13 +38,11 @@ ...@@ -38,13 +38,11 @@
#endif #endif
#include "stunmessage.h" #include "stunmessage.h"
#include "stunagent.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h>
#include <netinet/in.h>
static bool stun_agent_is_unknown (StunAgent *agent, uint16_t type); static bool stun_agent_is_unknown (StunAgent *agent, uint16_t type);
static unsigned stun_agent_find_unknowns (StunAgent *agent, static unsigned stun_agent_find_unknowns (StunAgent *agent,
......
...@@ -37,18 +37,19 @@ ...@@ -37,18 +37,19 @@
# include <config.h> # include <config.h>
#endif #endif
#include "stunmessage.h"
#ifdef _WIN32
#include <winsock2.h>
#else
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#endif
#include "stunmessage.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h>
#include <netinet/in.h>
bool stun_message_init (StunMessage *msg, stun_class_t c, stun_method_t m, bool stun_message_init (StunMessage *msg, stun_class_t c, stun_method_t m,
......
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