diff options
author | Jim Meyering <jim@meyering.net> | 1998-02-19 21:28:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-02-19 21:28:38 +0000 |
commit | dcb8db3c82afb56017da2c7083ec931a461c6b0f (patch) | |
tree | d521c7e9f9a735c684b9025c1ccfb859ce5a8e1d /lib | |
parent | 92b49f0da1bab43313250f55d77570739d0d90ae (diff) | |
download | coreutils-dcb8db3c82afb56017da2c7083ec931a461c6b0f.tar.xz |
[__DJGPP__]: Add missing typedef for daddr_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fileblocks.c | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |