Date: Tue, 26 Feb 2002 21:04:19 -0800 (PST) From: Bill Fenner <fenner@research.att.com> To: current@freebsd.org Subject: Re: Broken (?) unistd.h Message-ID: <200202270504.g1R54JZ03166@stash.attlabs.att.com>
next in thread | raw e-mail | index | archive | help
Here's a patch for bind's port/freebsd/include/port_before.h . --- port_before.h.orig Tue Feb 26 20:57:35 2002 +++ port_before.h Tue Feb 26 21:02:18 2002 @@ -15,6 +15,7 @@ #define SETPWENT_VOID #endif +#include <sys/param.h> #include <sys/types.h> #define GROUP_R_RETURN struct group * @@ -26,8 +27,13 @@ #define GROUP_R_ENT_ARGS void #define GROUP_R_OK gptr #define GROUP_R_BAD NULL +#if __FreeBSD_version < 500029 #define GETGROUPLIST_ARGS const char *name, int basegid, int *groups, \ int *ngroups +#else +#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \ + int *ngroups +#endif #define HOST_R_RETURN struct hostent * #define HOST_R_SET_RETURN void To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202270504.g1R54JZ03166>