summaryrefslogtreecommitdiffstats
path: root/src/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugin.h b/src/plugin.h
index bce8112..13c06c0 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -22,14 +22,10 @@
#ifndef plugin_h
#define plugin_h
+#include "wrap.h"
+
struct plugin_state {
-#ifdef USE_PTHREADS
- pthread_t tid;
-#elif defined(USE_NSPR_THREADS)
- PRThread *tid;
-#else
-#error "Don't know which threading model to use!"
-#endif
+ struct wrapped_thread *tid;
char *plugin_base;
Slapi_ComponentId *plugin_identity;
Slapi_PluginDesc *plugin_desc;