From dcb8db3c82afb56017da2c7083ec931a461c6b0f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 19 Feb 1998 21:28:38 +0000 Subject: [__DJGPP__]: Add missing typedef for daddr_t. --- lib/fileblocks.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/fileblocks.c') diff --git a/lib/fileblocks.c b/lib/fileblocks.c index 47a730898..e94d903b0 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)) -- cgit v1.2.3-54-g00ecf