diff options
author | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-10-28 17:41:10 -0400 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-10-28 17:41:10 -0400 |
commit | 31b6426699ac90d60f730b1a5683ad9149f5261c (patch) | |
tree | 485892a6b0b7c02e115999746cc296d856fdb219 /stun/stunmessage.c | |
parent | c361d8e1f84d1d0820e433bcb5083c818f9390e6 (diff) | |
download | libnice-31b6426699ac90d60f730b1a5683ad9149f5261c.tar.gz |
a bit more win32 cmpat
Diffstat (limited to 'stun/stunmessage.c')
-rw-r--r-- | stun/stunmessage.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/stun/stunmessage.c b/stun/stunmessage.c index 1cc6a04..4be18e3 100644 --- a/stun/stunmessage.c +++ b/stun/stunmessage.c @@ -37,18 +37,19 @@ # include <config.h> #endif +#include "stunmessage.h" + +#ifdef _WIN32 +#include <winsock2.h> +#else #include <sys/types.h> #include <sys/socket.h> +#endif -#include "stunmessage.h" #include <string.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, |