]> git.sur5r.net Git - openldap/blobdiff - include/lthread.h
comment away #undefs
[openldap] / include / lthread.h
index d3fd3d0ec65b3ecb1a84b612eb3f8cbe2db03dc7..de2dd3497fe189a976261102039155e653725641 100644 (file)
@@ -3,6 +3,10 @@
 #ifndef _LTHREAD_H
 #define _LTHREAD_H
 
+#include "portable.h"
+
+LDAP_BEGIN_DECL
+
 #if defined ( THREAD_NEXT_CTHREADS )
 
 #define _THREAD
@@ -222,4 +226,7 @@ typedef int     pthread_condattr_t;
 typedef int    pthread_cond_t;
 
 #endif /* no threads support */
+
+LDAP_END_DECL
+
 #endif /* _LTHREAD_H */