From f330aac1138f2ffee8a9e793f23c6a30ef3b8483 Mon Sep 17 00:00:00 2001 From: Henry Ford Date: Mon, 20 Nov 2023 20:47:30 -0500 Subject: [PATCH] engine: common: dont inlcude ucontext.h on OpenBSD where it doesnt exist --- engine/common/crashhandler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/common/crashhandler.c b/engine/common/crashhandler.c index f4cb82b1..4ae42ab0 100644 --- a/engine/common/crashhandler.c +++ b/engine/common/crashhandler.c @@ -320,7 +320,9 @@ void Sys_RestoreCrashHandler( void ) #elif XASH_FREEBSD || XASH_NETBSD || XASH_OPENBSD || XASH_ANDROID || XASH_LINUX // Posix signal handler +#ifndef XASH_OPENBSD #include +#endif #include #include #include "library.h"