diff options
| author | Zach Riggle <zachriggle@users.noreply.github.com> | 2017-06-26 08:32:38 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-06-26 15:32:38 +0200 |
| commit | 2420edb02ee04fc1b7dc39e7d5e17f98e3e3a24b (patch) | |
| tree | 80d02d9248808642724208e809a43062636250b4 /executor | |
| parent | dd93f0378ab9dcfd951394cb53514bfdee67b4d9 (diff) | |
Port console to Darwin (#253)
* Port console to Darwin
* Get syz-executor to build correctly
* Do not export unix and syscall constants
* Add presubmit test
* Add myself to contributors
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h index 8ced8313b..e1cc3385e 100644 --- a/executor/common.h +++ b/executor/common.h @@ -509,6 +509,7 @@ static void flush_tun() #endif #if defined(SYZ_EXECUTOR) || (defined(__NR_syz_extract_tcp_res) && defined(SYZ_TUN_ENABLE)) +#ifndef __ANDROID__ // Can't include <linux/ipv6.h>, since it causes // conflicts due to some structs redefinition. struct ipv6hdr { @@ -523,6 +524,7 @@ struct ipv6hdr { struct in6_addr saddr; struct in6_addr daddr; }; +#endif struct tcp_resources { int32_t seq; |
