diff options
Diffstat (limited to 'sys/arch/pc532/include/ansi.h')
-rw-r--r-- | sys/arch/pc532/include/ansi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arch/pc532/include/ansi.h b/sys/arch/pc532/include/ansi.h index 3dbef15315a..fcdfde20c2e 100644 --- a/sys/arch/pc532/include/ansi.h +++ b/sys/arch/pc532/include/ansi.h @@ -74,4 +74,10 @@ #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_RUNE_T_ int /* rune_t */ +/* + * We describe off_t here so its declaration can be visible to + * stdio without pulling in all of <sys/type.h>, thus appeasing ANSI. + */ +#define _BSD_OFF_T_ long long /* file offset */ + #endif /* _ANSI_H_ */ |