X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-bsd-os.h;h=406cf57dfacb2d06030dbe73b8e6c3de64c78029;hb=d446dd586b59edea428d612ad76267b9c1cacd9b;hp=d03b8aa8accc84fa54ecdc48495b692a3bc59291;hpb=000e9e0b51a505e1e9079891d53317a9b8d8e807;p=sbcl.git diff --git a/src/runtime/x86-bsd-os.h b/src/runtime/x86-bsd-os.h index d03b8aa..406cf57 100644 --- a/src/runtime/x86-bsd-os.h +++ b/src/runtime/x86-bsd-os.h @@ -1,7 +1,15 @@ #ifndef _X86_BSD_OS_H #define _X86_BSD_OS_H -static inline os_context_t *arch_os_get_context(void **void_context) { +#ifdef LISP_FEATURE_FREEBSD +#include +#include +#endif + +typedef int os_context_register_t; + +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; }