$NetBSD: patch-ae,v 1.1 2006/03/22 21:22:09 joerg Exp $ --- object/Regex.h.orig 2006-03-22 19:30:38.000000000 +0000 +++ object/Regex.h @@ -171,6 +171,7 @@ #warning REGEX_POSIX defined but REG_EXTENDED not found. #endif +#if !defined(__DragonFly__) /* These are named posix_re_comp and then #defined to the original names because MacOS X is nice enough to typedef re_comp and re_exec differently in unistd.h. Eww. */ @@ -179,6 +180,7 @@ char *posix_re_comp(char *regex); int posix_re_exec(char *string); #define re_comp(a) (posix_re_comp(a)) #define re_exec(a) (posix_re_exec(a)) +#endif #else /* ********** Try to figure out what else they have. */