Module Name: src Committed By: snj Date: Thu Jan 7 07:45:01 UTC 2010
Modified Files: src/tools/compat [netbsd-5-0]: compat_defs.h Log Message: Apply patch (requested by tron in ticket #1202): Don't include grp.h Fixes cross-build under Mac OS X 10.6. To generate a diff of this commit: cvs rdiff -u -r1.67.2.1 -r1.67.2.1.2.1 src/tools/compat/compat_defs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/compat/compat_defs.h diff -u src/tools/compat/compat_defs.h:1.67.2.1 src/tools/compat/compat_defs.h:1.67.2.1.2.1 --- src/tools/compat/compat_defs.h:1.67.2.1 Thu Jan 15 04:32:35 2009 +++ src/tools/compat/compat_defs.h Thu Jan 7 07:45:01 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_defs.h,v 1.67.2.1 2009/01/15 04:32:35 snj Exp $ */ +/* $NetBSD: compat_defs.h,v 1.67.2.1.2.1 2010/01/07 07:45:01 snj Exp $ */ #ifndef __NETBSD_COMPAT_DEFS_H__ #define __NETBSD_COMPAT_DEFS_H__ @@ -38,7 +38,6 @@ #include <sys/stat.h> #include <errno.h> #include <fcntl.h> -#include <grp.h> #include <limits.h> #include <paths.h> #include <stdarg.h> @@ -76,6 +75,9 @@ /* We don't include <pwd.h> here, so that "compat_pwd.h" works. */ struct passwd; +/* We don't include <grp.h> here, so that "compat_pwd.h" works. */ +struct group; + /* Assume an ANSI compiler for the host. */ #undef __P