diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index 62165226d9d0..dbc4fb4268dd 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.c,v 1.32 2005/06/12 19:46:15 dyoung Exp $ */ +/* $NetBSD: disklabel.c,v 1.33 2005/06/22 21:35:28 he Exp $ */ /* * Copyright (c) 1983, 1987, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 5/3/95"; #else -__RCSID("$NetBSD: disklabel.c,v 1.32 2005/06/12 19:46:15 dyoung Exp $"); +__RCSID("$NetBSD: disklabel.c,v 1.33 2005/06/22 21:35:28 he Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -50,8 +50,8 @@ __RCSID("$NetBSD: disklabel.c,v 1.32 2005/06/12 19:46:15 dyoung Exp $"); #include #if HAVE_NBTOOL_CONFIG_H -#include "../../sys/sys/disklabel.h" -#include "../../include/disktab.h" +#include +#include #else #include #include diff --git a/tools/Makefile.disklabel b/tools/Makefile.disklabel index 5e87054461db..2332332d9264 100644 --- a/tools/Makefile.disklabel +++ b/tools/Makefile.disklabel @@ -1,12 +1,14 @@ -# $NetBSD: Makefile.disklabel,v 1.1 2005/06/12 19:46:17 dyoung Exp $ +# $NetBSD: Makefile.disklabel,v 1.2 2005/06/22 21:35:28 he Exp $ _ARCHDIR= ${.CURDIR}/../../sys/arch +_INCDIR= ${.CURDIR}/../../include _SYSDIR= ${.CURDIR}/../../sys/sys _SUBDIR!= cd ${_ARCHDIR} && ${MAKE} -V SUBDIR _ARCH_INCS!= cd ${_ARCHDIR} && find . -name disklabel.h -_INCS= bootblock.h \ +_INCS= disktab.h +_SYSINCS= bootblock.h \ disklabel.h disklabel_acorn.h disklabel_gpt.h dkbad.h HOST_CPPFLAGS+= -I${TOOLDIR}/include @@ -17,7 +19,9 @@ beforedepend: cd ${_ARCHDIR} && \ ${TOOL_PAX} -s /include\\/// -rw ${_ARCH_INCS} \ ${TOOLDIR}/include/nbinclude + cd ${_INCDIR} && \ + ${TOOL_PAX} -rw ${_INCS} ${TOOLDIR}/include/nbinclude cd ${_SYSDIR} && \ - ${TOOL_PAX} -rw ${_INCS} ${TOOLDIR}/include/nbinclude/sys + ${TOOL_PAX} -rw ${_SYSINCS} ${TOOLDIR}/include/nbinclude/sys cd ${TOOLDIR}/include/nbinclude && rm -f machine && \ ${HOST_INSTALL_SYMLINK} ${MACHINE} machine