From 223459891e9a6d6e00137a9a4cb4f27441a93ff5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 7 Feb 2011 17:49:45 -0500 Subject: [PATCH] syscall: fix arm build R=r CC=golang-dev https://golang.org/cl/4105057 --- src/pkg/syscall/ztypes_linux_arm.go | 6 ++++++ 1 file changed, 6 insertions(+) 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