summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/defs_openbsd_amd64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/defs_openbsd_amd64.h')
-rw-r--r--src/pkg/runtime/defs_openbsd_amd64.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pkg/runtime/defs_openbsd_amd64.h b/src/pkg/runtime/defs_openbsd_amd64.h
index eb47ec892..a1ae2ef65 100644
--- a/src/pkg/runtime/defs_openbsd_amd64.h
+++ b/src/pkg/runtime/defs_openbsd_amd64.h
@@ -133,7 +133,7 @@ struct Sigcontext {
int64 sc_rsp;
int64 sc_ss;
void *sc_fpstate;
- int32 sc_onstack;
+ int32 __sc_unused;
int32 sc_mask;
};
struct Siginfo {
@@ -154,8 +154,7 @@ struct StackT {
};
struct Timespec {
- int32 tv_sec;
- byte Pad_cgo_0[4];
+ int64 tv_sec;
int64 tv_nsec;
};
struct Timeval {
@@ -168,11 +167,11 @@ struct Itimerval {
};
struct Kevent {
- uint32 ident;
+ uint64 ident;
int16 filter;
uint16 flags;
uint32 fflags;
- int32 data;
+ int64 data;
byte *udata;
};