From: Jim Meyering Date: Thu, 19 Feb 1998 21:28:38 +0000 (+0000) Subject: [__DJGPP__]: Add missing typedef for daddr_t. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ba0abaf65e1efb2b5808bb3b222b2fb48b32635;p=pspp [__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))