Commit 22345989 authored by Russ Cox's avatar Russ Cox

syscall: fix arm build

R=r
CC=golang-dev
https://golang.org/cl/4105057
parent 0ae04173
...@@ -23,6 +23,7 @@ const ( ...@@ -23,6 +23,7 @@ const (
SizeofSockaddrUnix = 0x6e SizeofSockaddrUnix = 0x6e
SizeofSockaddrLinklayer = 0x14 SizeofSockaddrLinklayer = 0x14
SizeofLinger = 0x8 SizeofLinger = 0x8
SizeofIpMreq = 0x8
SizeofMsghdr = 0x1c SizeofMsghdr = 0x1c
SizeofCmsghdr = 0xc SizeofCmsghdr = 0xc
SizeofUcred = 0xc SizeofUcred = 0xc
...@@ -221,6 +222,11 @@ type Iovec struct { ...@@ -221,6 +222,11 @@ type Iovec struct {
Len uint32 Len uint32
} }
type IpMreq struct {
Multiaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment