summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/perthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/perthread.h')
-rw-r--r--winsup/cygwin/perthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/perthread.h b/winsup/cygwin/perthread.h
index 889a5d8c4..185cc04d6 100644
--- a/winsup/cygwin/perthread.h
+++ b/winsup/cygwin/perthread.h
@@ -68,7 +68,7 @@ public:
size_t size () {return sizeof (waitq);}
};
-#ifdef NEED_VFORK
+#if defined (NEED_VFORK)
struct vfork_save
{
int pid;
@@ -87,6 +87,7 @@ public:
size_t size () {return sizeof (vfork_save);}
};
extern per_thread_vfork vfork_storage;
+extern vfork_save *main_vfork;
#endif
extern "C" {