From: Jim Meyering Date: Thu, 19 Feb 1998 21:28:38 +0000 (+0000) Subject: [__DJGPP__]: Add missing typedef for daddr_t. X-Git-Tag: FILEUTILS-3_16m~38 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=dcb8db3c82afb56017da2c7083ec931a461c6b0f;p=thirdparty%2Fcoreutils.git [__DJGPP__]: Add missing typedef for daddr_t. --- diff --git a/lib/fileblocks.c b/lib/fileblocks.c index 47a730898a..e94d903b03 100644 --- a/lib/fileblocks.c +++ b/lib/fileblocks.c @@ -34,6 +34,11 @@ # endif # ifndef NINDIR + +# if defined (__DJGPP__) +typedef long daddr_t; /* for disk address */ +# endif + /* Some SysV's, like Irix, seem to lack this. Hope it's correct. */ /* Number of inode pointers per indirect block. */ # define NINDIR (BSIZE / sizeof (daddr_t))