forked from OSchip/llvm-project
[compiler-rt] Harmonize __sanitizer_addrinfo with the NetBSD headers
Add missing pad for sparc, alpha and a variation of i386.
This commit is contained in:
parent
01f91c3526
commit
983c4dd8ed
|
@ -354,7 +354,13 @@ struct __sanitizer_addrinfo {
|
|||
int ai_family;
|
||||
int ai_socktype;
|
||||
int ai_protocol;
|
||||
#if defined(__sparc__) && defined(_LP64)
|
||||
int __ai_pad0;
|
||||
#endif
|
||||
unsigned ai_addrlen;
|
||||
#if defined(__alpha__) || (defined(__i386__) && defined(_LP64))
|
||||
int __ai_pad0;
|
||||
#endif
|
||||
char *ai_canonname;
|
||||
void *ai_addr;
|
||||
struct __sanitizer_addrinfo *ai_next;
|
||||
|
|
Loading…
Reference in New Issue