summaryrefslogtreecommitdiffstats
path: root/src/libthread/386.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/386.c')
-rw-r--r--src/libthread/386.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libthread/386.c b/src/libthread/386.c
index 2c611e45..fb4c6746 100644
--- a/src/libthread/386.c
+++ b/src/libthread/386.c
@@ -1,3 +1,7 @@
+#include "ucontext.c"
+
+#ifdef OLD
+
#include "threadimpl.h"
/*
* To use this you need some patches to Valgrind that
@@ -55,3 +59,4 @@ _threadstacklimit(void *bottom, void *top)
VALGRIND_SET_STACK_LIMIT(1, bottom, top);
#endif
}
+#endif