#ifndef _LLNI_H
#define _LLNI_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "config.h"
/* forward defines ************************************************************/
#include "native/localref.h"
-#include "threads/thread.h"
+#include "threads/thread.hpp"
/* LLNI macros *****************************************************************
void llni_critical_start_thread(threadobject *t);
void llni_critical_end_thread(threadobject *t);
+#ifdef __cplusplus
+}
+#endif
#endif /* _LLNI_H */