Mercurial > hg > octave-kai > gnulib-hg
changeset 1240:92fcf946db19
[__DJGPP__]: Add missing typedef for daddr_t.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 19 Feb 1998 21:28:38 +0000 |
parents | 5fe96529d35b |
children | 4588215c902f |
files | lib/fileblocks.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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))