openbsd-ports/games/warzone2100/patches/patch-lib_exceptionhandler_exceptionhandler_cpp
espie 1d9c03ad5a WANT_CXX, patches inspired by freebsd.
horrible hack to prevent build failure if incompatible ports' glm is
installed...
2017-05-27 08:18:46 +00:00

14 lines
448 B
Plaintext

$OpenBSD: patch-lib_exceptionhandler_exceptionhandler_cpp,v 1.4 2017/05/27 08:18:46 espie Exp $
Index: lib/exceptionhandler/exceptionhandler.cpp
--- lib/exceptionhandler/exceptionhandler.cpp.orig
+++ lib/exceptionhandler/exceptionhandler.cpp
@@ -117,6 +117,7 @@ static LONG WINAPI windowsExceptionHandler(PEXCEPTION_
# include <stdint.h>
# include <signal.h>
# include <string.h>
+# include <errno.h>
// POSIX headers:
# include <unistd.h>