]> git.sur5r.net Git - openldap/blobdiff - include/ldap_rq.h
Fix select/yield
[openldap] / include / ldap_rq.h
index 084684eb31c5bdeb46a1bf9dfd8b559fb1956bfd..de6f32a936b49dbbd81edba71c910a94de911e24 100644 (file)
  * top-level directory of the distribution.
  */
 
-#ifdef LDAP_SYNCREPL
+#ifndef LDAP_RQ_H
+#define LDAP_RQ_H 1
+
+#include <ldap_cdefs.h>
+
+LDAP_BEGIN_DECL
 
 typedef struct re_s {
        struct timeval next_sched;
@@ -76,4 +81,6 @@ ldap_pvt_runqueue_persistent_backload(
        struct runqueue_s* rq
 );
 
+LDAP_END_DECL
+
 #endif