summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/m68k/include/ansi.h')
-rw-r--r--sys/arch/m68k/include/ansi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/ansi.h b/sys/arch/m68k/include/ansi.h
index 1a734fe7c00..53c6af36a97 100644
--- a/sys/arch/m68k/include/ansi.h
+++ b/sys/arch/m68k/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.5 1997/07/07 05:56:37 millert Exp $ */
+/* $OpenBSD: ansi.h,v 1.6 2000/02/22 17:29:13 millert Exp $ */
/* $NetBSD: ansi.h,v 1.7 1996/11/15 22:38:52 jtc Exp $ */
/*-
@@ -75,4 +75,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_ */