summaryrefslogtreecommitdiff
path: root/lib/frr_pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frr_pthread.h')
-rw-r--r--lib/frr_pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/frr_pthread.h b/lib/frr_pthread.h
index f6000340a7..7915b43a46 100644
--- a/lib/frr_pthread.h
+++ b/lib/frr_pthread.h
@@ -21,8 +21,11 @@
#define _FRR_PTHREAD_H
#include <pthread.h>
+#include "memory.h"
#include "thread.h"
+DECLARE_MTYPE(PTHREAD_PRIM);
+
struct frr_pthread {
/* pthread id */