]> git.sur5r.net Git - openldap/blobdiff - include/ldap_int_thread.h
Fix select/yield
[openldap] / include / ldap_int_thread.h
index a9aff33f2efd45bcb98df5732ec75202746dfb20..eb2d39c370c6a7433ce524bd3034c7fa05159a19 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,11 @@ LDAP_END_DECL
  *                                *
  **********************************/
 
-#include <mach/cthreads.h>
+#if defined( HAVE_MACH_CTHREADS_H )
+#      include <mach/cthreads.h>
+#elif defined( HAVE_CTHREAD_H
+#      include <cthreads.h>
+#endif
 
 LDAP_BEGIN_DECL