From: Jim Meyering Date: Tue, 3 Jun 1997 20:01:47 +0000 (+0000) Subject: [HAVE_UNISTD_H]: Include unistd.h. X-Git-Tag: SH-UTILS-1_16a~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1390de4c36fb34d2a48e96b9ebe729b8c8302a7;p=thirdparty%2Fcoreutils.git [HAVE_UNISTD_H]: Include unistd.h. John Gatewood Ham reported that this is necessary for DJGPP/Win95. --- diff --git a/lib/fileblocks.c b/lib/fileblocks.c index 0cfebb5413..7f696ab2f2 100644 --- a/lib/fileblocks.c +++ b/lib/fileblocks.c @@ -1,5 +1,5 @@ /* Convert file size to number of blocks on System V-like machines. - Copyright (C) 1990 Free Software Foundation, Inc. + Copyright (C) 1990, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,6 +25,10 @@ # include # include +# if HAVE_UNISTD_H +# include +# endif + # ifndef NINDIR /* Some SysV's, like Irix, seem to lack these. Hope they're correct. */ /* Size of a indirect block, in bytes. */