Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
db76c88f75
  1. 4
      crypto777/inet.c

4
crypto777/inet.c

@ -19,7 +19,7 @@
#ifndef crypto777_inet_h
#define crypto777_inet_h
#include "OS_portable.h"
#include <arpa/inet.h>
#ifdef _WIN32
#define in6_addr sockaddr
@ -33,6 +33,8 @@ struct sockaddr_in6 {
struct in6_addr sin6_addr;
u_long sin6_scope_id;
};
#else
#include <arpa/inet.h>
#endif
#ifdef _WIN32
#ifdef AF_INET6

Loading…
Cancel
Save