summaryrefslogtreecommitdiffstats
path: root/lib/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h
index b52bc541..43d4d12f 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -22,6 +22,8 @@
#ifndef _ZEBRA_THREAD_H
#define _ZEBRA_THREAD_H
+#include <sys/resource.h>
+
struct rusage_t
{
#ifdef HAVE_RUSAGE
@@ -163,6 +165,8 @@ enum quagga_clkid {
/* Prototypes. */
extern struct thread_master *thread_master_create (void);
extern void thread_master_free (struct thread_master *);
+extern void thread_init_r (void);
+extern void thread_finish (void);
extern struct thread *funcname_thread_add_read (struct thread_master *,
int (*)(struct thread *),