summaryrefslogtreecommitdiff
path: root/lib/fileblocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fileblocks.c')
-rw-r--r--lib/fileblocks.c5
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))