From bf794f82b1b2abc445de257abd62da5c252e12ba Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 1 Jan 1970 00:00:00 +0000
Subject: [PATCH] Workaround stack overflow.

---
 virt-top/mingw32-virt-top.spec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/virt-top/mingw32-virt-top.spec b/virt-top/mingw32-virt-top.spec
index 6a8f47a..305ba9b 100644
--- a/virt-top/mingw32-virt-top.spec
+++ b/virt-top/mingw32-virt-top.spec
@@ -76,6 +76,9 @@ autoreconf
 
 
 %build
+# Workaround for non-tail-recursion in flexdll.
+ulimit -s unlimited
+
 export OCAMLFIND_CONF=%{_sysconfdir}/%{_mingw32_target}-ocamlfind.conf
 export OCAMLC=%{_mingw32_target}-ocamlc
 %{_mingw32_configure}
-- 
1.8.3.1