openbsd-ports/emulators/qemu/patches/patch-exec_c
2010-11-22 11:32:01 +00:00

14 lines
506 B
Plaintext

$OpenBSD: patch-exec_c,v 1.9 2010/11/22 11:32:01 fgsch Exp $
--- exec.c.orig Fri Oct 15 21:56:09 2010
+++ exec.c Thu Nov 18 09:21:58 2010
@@ -524,7 +524,8 @@ static void code_gen_alloc(unsigned long tb_size)
exit(1);
}
}
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
+ defined(__DragonFly__) || defined(__OpenBSD__)
{
int flags;
void *addr = NULL;