$OpenBSD: patch-loader_pe_image_c,v 1.2 2006/12/23 13:31:31 jolan Exp $
--- loader/pe_image.c.orig	Fri Dec  8 19:12:27 2006
+++ loader/pe_image.c	Sat Dec 23 03:45:09 2006
@@ -921,7 +921,7 @@ void PE_UnloadLibrary(WINE_MODREF *wm)
  */
 static void __attribute__((noinline)) extend_stack_for_dll_alloca(void)
 {
-#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__)
     volatile int* mem=alloca(0x20000);
     *mem=0x1234;
 #endif
