From: Russ Cox Date: Mon, 7 Feb 2011 22:49:45 +0000 (-0500) Subject: syscall: fix arm build X-Git-Tag: weekly.2011-02-15~77 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=223459891e9a6d6e00137a9a4cb4f27441a93ff5;p=gostls13.git syscall: fix arm build R=r CC=golang-dev https://golang.org/cl/4105057 --- diff --git a/src/pkg/syscall/ztypes_linux_arm.go b/src/pkg/syscall/ztypes_linux_arm.go index 450f2008b8..236155b208 100644 --- a/src/pkg/syscall/ztypes_linux_arm.go +++ b/src/pkg/syscall/ztypes_linux_arm.go @@ -23,6 +23,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofLinger = 0x8 + SizeofIpMreq = 0x8 SizeofMsghdr = 0x1c SizeofCmsghdr = 0xc SizeofUcred = 0xc @@ -221,6 +222,11 @@ type Iovec struct { Len uint32 } +type IpMreq struct { + Multiaddr [4]byte /* in_addr */ + Interface [4]byte /* in_addr */ +} + type Msghdr struct { Name *byte Namelen uint32