Module Name: othersrc Committed By: stacktic Date: Mon Aug 23 17:09:59 UTC 2010
Modified Files: othersrc/bin/ls: ls.c othersrc/usr.bin/du: du.c Log Message: Add #include <sys/param.h> for howmany(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/bin/ls/ls.c cvs rdiff -u -r1.2 -r1.3 othersrc/usr.bin/du/du.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/bin/ls/ls.c diff -u othersrc/bin/ls/ls.c:1.3 othersrc/bin/ls/ls.c:1.4 --- othersrc/bin/ls/ls.c:1.3 Fri Nov 6 11:47:41 2009 +++ othersrc/bin/ls/ls.c Mon Aug 23 17:09:59 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: ls.c,v 1.3 2009/11/06 11:47:41 stacktic Exp $ */ +/* $NetBSD: ls.c,v 1.4 2010/08/23 17:09:59 stacktic Exp $ */ /* from */ /* NetBSD: ls.c,v 1.66 2009/02/14 08:02:04 lukem Exp */ @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)ls.c 8.7 (Berkeley) 8/5/94"; #else -__RCSID("$NetBSD: ls.c,v 1.3 2009/11/06 11:47:41 stacktic Exp $"); +__RCSID("$NetBSD: ls.c,v 1.4 2010/08/23 17:09:59 stacktic Exp $"); #endif #endif /* not lint */ @@ -52,6 +52,7 @@ #include <nbcompat.h> #endif +#include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> Index: othersrc/usr.bin/du/du.c diff -u othersrc/usr.bin/du/du.c:1.2 othersrc/usr.bin/du/du.c:1.3 --- othersrc/usr.bin/du/du.c:1.2 Fri Nov 6 11:47:41 2009 +++ othersrc/usr.bin/du/du.c Mon Aug 23 17:09:59 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: du.c,v 1.2 2009/11/06 11:47:41 stacktic Exp $ */ +/* $NetBSD: du.c,v 1.3 2010/08/23 17:09:59 stacktic Exp $ */ /* from */ /* NetBSD: du.c,v 1.33 2008/07/30 22:03:40 dsl Exp */ @@ -44,10 +44,11 @@ #if 0 static char sccsid[] = "@(#)du.c 8.5 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: du.c,v 1.2 2009/11/06 11:47:41 stacktic Exp $"); +__RCSID("$NetBSD: du.c,v 1.3 2010/08/23 17:09:59 stacktic Exp $"); #endif #endif /* not lint */ +#include <sys/param.h> #include <sys/types.h> #include <sys/stat.h>