CVS commit: [netbsd-5-0] src/tools/compat

2010-02-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue Feb 16 21:26:44 UTC 2010

Modified Files:
src/tools/compat [netbsd-5-0]: getmode.c

Log Message:
Pull up following revision(s) (requested by snj in ticket #1308):
tools/compat/getmode.c: revision 1.8
include unistd.h where getmode is traditionally declared


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.8.1 src/tools/compat/getmode.c

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/getmode.c
diff -u src/tools/compat/getmode.c:1.7 src/tools/compat/getmode.c:1.7.8.1
--- src/tools/compat/getmode.c:1.7	Mon Apr 28 20:24:12 2008
+++ src/tools/compat/getmode.c	Tue Feb 16 21:26:44 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: getmode.c,v 1.7 2008/04/28 20:24:12 martin Exp $	*/
+/*	$NetBSD: getmode.c,v 1.7.8.1 2010/02/16 21:26:44 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,6 +31,7 @@
 
 #include "nbtool_config.h"
 #include 
+#include 
 
 void *
 setmode(const char *str)



CVS commit: [netbsd-5-0] src/tools/compat

2010-01-06 Thread Soren Jacobsen
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 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -76,6 +75,9 @@
 /* We don't include  here, so that "compat_pwd.h" works. */
 struct passwd;
 
+/* We don't include  here, so that "compat_pwd.h" works. */
+struct group;
+
 /* Assume an ANSI compiler for the host. */
 
 #undef __P