3 --- ldap/sdks/c-sdk/ldap/include/portable.h.orig 2012-04-23 06:28:48.000000000 +0000
4 +++ ldap/sdks/c-sdk/ldap/include/portable.h
6 * some systems don't have the BSD re_comp and re_exec routines
9 -#if ( defined( SYSV ) || defined( NETBSD ) || defined( FREEBSD ) || defined(__OpenBSD__) || defined( linux ) || defined( DARWIN )) && !defined(sgi)
10 +#if ( defined( SYSV ) || defined( NETBSD ) || defined(DRAGONFLY) || defined( FREEBSD ) || defined(__OpenBSD__) || defined( linux ) || defined( DARWIN )) && !defined(sgi)
12 +/* there are conflicting prototypes in unistd.h on DragonFly */
13 +#define re_comp ldap_compat_re_comp
14 +#define re_exec ldap_compat_re_exec