diff lib/fileblocks.c @ 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 a6150f7af1bd
children 9ad625a30b7d
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))