1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:00:25 -07:00

syscall: fix arm build

R=r
CC=golang-dev
https://golang.org/cl/4105057
This commit is contained in:
Russ Cox 2011-02-07 17:49:45 -05:00
parent 0ae041735a
commit 223459891e

View 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