projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee64b8
)
[__DJGPP__]: Add missing typedef for daddr_t.
author
Jim Meyering
<jim@meyering.net>
Thu, 19 Feb 1998 21:28:38 +0000
(21:28 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 19 Feb 1998 21:28:38 +0000
(21:28 +0000)
lib/fileblocks.c
patch
|
blob
|
history
diff --git
a/lib/fileblocks.c
b/lib/fileblocks.c
index 47a730898a93876986615712be107750a3910cbb..e94d903b0326b1f880fae8c11ba867d6a1404b1c 100644
(file)
--- 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))