aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 86ee449..24df5a9 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -13,6 +13,8 @@
#include <fhandler.h>
#include <assert.h>
#include <stdlib.h>
+#include "fhandler.h"
+#include "dtable.h"
#include "cygheap.h"
#include "heap.h"
#include "cygerrno.h"
@@ -66,6 +68,8 @@ cygheap_init ()
{
cygheap_protect = new_muto (FALSE, "cygheap_protect");
_csbrk (0);
+ if (!cygheap->fdtab)
+ cygheap->fdtab.init ();
}
/* Copyright (C) 1997, 2000 DJ Delorie */