From 4ba0abaf65e1efb2b5808bb3b222b2fb48b32635 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 19 Feb 1998 21:28:38 +0000 Subject: [PATCH] [__DJGPP__]: Add missing typedef for daddr_t. --- lib/fileblocks.c | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- 2.11.0