]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix arm build
authorRuss Cox <rsc@golang.org>
Mon, 7 Feb 2011 22:49:45 +0000 (17:49 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Feb 2011 22:49:45 +0000 (17:49 -0500)
R=r
CC=golang-dev
https://golang.org/cl/4105057

src/pkg/syscall/ztypes_linux_arm.go

index 450f2008b810a58df01b1bdef1e7542c9b614cca..236155b2089a634e64f598ae8b5ee7394d6cfc9f 100644 (file)
@@ -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