Subject: CVS commit: src/sbin/disklabel
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 08/27/2005 22:21:14
Module Name:	src
Committed By:	uwe
Date:		Sat Aug 27 22:21:14 UTC 2005

Modified Files:
	src/sbin/disklabel: main.c

Log Message:
When building as host tool don't include "../../include/util.h".

getlabel{offset,sector} and opendisk functions declared in that file
are not used in this case anyway, and <util.h> pulls in unwatned
includes (e.g. <utmpx.h> doesn't exist on FreeBSD 4.*).

XXX: We can probably undo the #if !HAVE_NBTOOL_CONFIG_H kludge in
<util.h> now.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sbin/disklabel/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.