diff options
Diffstat (limited to 'lib/librthread/rthread.c')
-rw-r--r-- | lib/librthread/rthread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c index b7e82feabc7..399f42cb48d 100644 --- a/lib/librthread/rthread.c +++ b/lib/librthread/rthread.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread.c,v 1.91 2016/05/07 19:05:22 guenther Exp $ */ +/* $OpenBSD: rthread.c,v 1.92 2016/09/01 10:41:02 otto Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -38,6 +38,7 @@ #include <pthread.h> #include "cancel.h" /* in libc/include */ +#include "thread_private.h" #include "rthread.h" #include "rthread_cb.h" @@ -247,6 +248,8 @@ _rthread_init(void) _threads_ready = 1; + _malloc_init(1); + _rthread_debug(1, "rthread init\n"); } |