--- include/ldap_int_thread.h 2000/07/04 17:58:48 1.6.2.2 +++ include/ldap_int_thread.h 2003/03/03 17:10:03 1.10.2.1 @@ -1,12 +1,13 @@ -/* $OpenLDAP: pkg/ldap/include/ldap_int_thread.h,v 1.21 2000/05/19 18:47:32 kurt Exp $ */ +/* $OpenLDAP: pkg/ldap/include/ldap_int_thread.h,v 1.10 2002/01/04 19:40:30 kurt Exp $ */ /* - * Copyright 1998-2000 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 are permitted only - * as authorized by the OpenLDAP Public License. A copy of this - * license is available at http://www.OpenLDAP.org/license.html or - * in file LICENSE in the top-level directory of the distribution. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. A copy of this license is available at + * http://www.OpenLDAP.org/license.html or in file LICENSE in the + * top-level directory of the distribution. */ /* ldap_int_thread.h - ldap internal thread wrappers header file */ @@ -61,7 +62,11 @@ LDAP_END_DECL * * **********************************/ -#include +#if defined( HAVE_MACH_CTHREADS_H ) +# include +#elif defined( HAVE_CTHREAD_H +# include +#endif LDAP_BEGIN_DECL