On Mon, Jun 20, 2005 at 11:22:14AM -0400, Alan DeKok wrote: > Andrew Thompson <[EMAIL PROTECTED]> wrote: > > Are you using the port becuase that problem has been fixed. If not then > > you will want the patch in: > > > > net/freeradius/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c > > Is it something which can get pulled into FreeRADIUS? >
This problem only applies to FreeBSD 4.x and not the newer releases (>5.0). It requires <sys/types.h> to be included before <regex.h>. --- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.orig Sat Jun 18 14:29:43 2005 +++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c Sat Jun 18 14:31:48 2005 @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/types.h> #ifdef HAVE_REGEX_H # include <regex.h> #endif Previously this was being pulled in from libradius.h, but that was removed 7 weeks ago. I am happy to keep this as a local patch as it is only a quirk of 4.x and the port properly patches it. Andrew - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html