[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:
Kamil Rytarowski 2019-11-03 16:47:03 +01:00
parent 01f91c3526
commit 983c4dd8ed
1 changed files with 6 additions and 0 deletions

View File

@ -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;