summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/heap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/heap.cc')
-rw-r--r--winsup/cygwin/heap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc
index dc2e6e977..f31848acd 100644
--- a/winsup/cygwin/heap.cc
+++ b/winsup/cygwin/heap.cc
@@ -86,6 +86,7 @@ heap_init ()
extern "C" void *
_sbrk(int n)
{
+ sigframe thisframe (mainthread);
char *newtop, *newbrk;
unsigned commitbytes, newbrksize;