From: Dmitriy Vyukov Date: Thu, 4 Sep 2014 07:31:39 +0000 (+0400) Subject: runtime: fix netbsd build X-Git-Tag: go1.4beta1~540 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=29225211e1048f2c2eafd5015637f149a68ecf5c;p=gostls13.git runtime: fix netbsd build TBR=rsc R=rsc CC=golang-codereviews https://golang.org/cl/140220043 --- diff --git a/src/pkg/runtime/defs_netbsd_386.h b/src/pkg/runtime/defs_netbsd_386.h index 53d4b30bb7..fd87804f90 100644 --- a/src/pkg/runtime/defs_netbsd_386.h +++ b/src/pkg/runtime/defs_netbsd_386.h @@ -149,7 +149,7 @@ struct KeventT { uint32 flags; uint32 fflags; int64 data; - int32 udata; + byte *udata; }; diff --git a/src/pkg/runtime/defs_netbsd_amd64.h b/src/pkg/runtime/defs_netbsd_amd64.h index 6227575c92..dac94b113b 100644 --- a/src/pkg/runtime/defs_netbsd_amd64.h +++ b/src/pkg/runtime/defs_netbsd_amd64.h @@ -154,7 +154,7 @@ struct KeventT { uint32 fflags; byte Pad_cgo_0[4]; int64 data; - int64 udata; + byte *udata; }; diff --git a/src/pkg/runtime/defs_netbsd_arm.h b/src/pkg/runtime/defs_netbsd_arm.h index 115fa439a6..70f34af47b 100644 --- a/src/pkg/runtime/defs_netbsd_arm.h +++ b/src/pkg/runtime/defs_netbsd_arm.h @@ -153,7 +153,7 @@ struct KeventT { uint32 flags; uint32 fflags; int64 data; - int32 udata; + byte *udata; };