mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
r13838@catbus: nickm | 2007-07-19 15:50:16 -0400
Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883
This commit is contained in:
parent
679b55eb1f
commit
b2772f93cb
@ -283,6 +283,16 @@ struct in6_addr
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(__darwin__)
|
||||
/* OSX seems not to define these. */
|
||||
#ifndef s6_addr16
|
||||
#define s6_addr16 __u6_addr.__u6_addr16
|
||||
#endif
|
||||
#ifndef s6_addr32
|
||||
#define s6_addr32 __u6_addr.__u6_addr32
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_STRUCT_SOCKADDR_IN6)
|
||||
struct sockaddr_in6 {
|
||||
uint16_t sin6_family; /* XXXX020 right size???? */
|
||||
|
Loading…
Reference in New Issue
Block a user