Module Name:    src
Committed By:   bouyer
Date:           Tue Feb 16 21:26:39 UTC 2010

Modified Files:
        src/tools/compat [netbsd-5]: 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.6.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.6.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:39 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.6.1 2010/02/16 21:26:39 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,6 +31,7 @@
 
 #include "nbtool_config.h"
 #include <stdlib.h>
+#include <unistd.h>
 
 void *
 setmode(const char *str)

Reply via email to