summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/openbsd/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/openbsd/defs.c')
-rw-r--r--src/pkg/runtime/openbsd/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/openbsd/defs.c b/src/pkg/runtime/openbsd/defs.c
index d8adec981..d0e0a19c3 100644
--- a/src/pkg/runtime/openbsd/defs.c
+++ b/src/pkg/runtime/openbsd/defs.c
@@ -14,7 +14,6 @@
#include <sys/time.h>
#include <sys/unistd.h>
#include <sys/signal.h>
-#include <machine/mcontext.h>
#include <errno.h>
#include <signal.h>
@@ -97,7 +96,8 @@ typedef stack_t $StackT;
typedef struct timeval $Timeval;
typedef struct itimerval $Itimerval;
-// This is a hack to avoid pulling in machine/fpu.h and struct fxsave64.
+// This is a hack to avoid pulling in machine/fpu.h.
typedef void $sfxsave64;
+typedef void $usavefpu;
typedef struct sigcontext $Sigcontext;