summaryrefslogtreecommitdiff
path: root/src/thread/vmlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/vmlock.c')
-rw-r--r--src/thread/vmlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/vmlock.c b/src/thread/vmlock.c
index 75f3cb76..fa0a8e3c 100644
--- a/src/thread/vmlock.c
+++ b/src/thread/vmlock.c
@@ -1,6 +1,8 @@
#include "pthread_impl.h"
+#include "fork_impl.h"
static volatile int vmlock[2];
+volatile int *const __vmlock_lockptr = vmlock;
void __vm_wait()
{