summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/include/ansi.h')
-rw-r--r--sys/arch/hppa/include/ansi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/ansi.h b/sys/arch/hppa/include/ansi.h
index ac8010a0aee..c6a19caa455 100644
--- a/sys/arch/hppa/include/ansi.h
+++ b/sys/arch/hppa/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.3 1998/11/23 03:28:22 mickey Exp $ */
+/* $OpenBSD: ansi.h,v 1.4 2000/02/22 17:29:12 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -73,4 +73,10 @@
#define _BSD_WCHAR_T_ int /* wchar_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 /* _MACHINE_ANSI_H_ */