Browse Source

engine: common: dont inlcude ucontext.h on OpenBSD where it doesnt exist

pull/2/head
Henry Ford 1 year ago committed by Alibek Omarov
parent
commit
f330aac113
  1. 2
      engine/common/crashhandler.c

2
engine/common/crashhandler.c

@ -320,7 +320,9 @@ void Sys_RestoreCrashHandler( void ) @@ -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 <ucontext.h>
#endif
#include <signal.h>
#include <sys/mman.h>
#include "library.h"

Loading…
Cancel
Save