summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2000-07-23 19:25:58 +0000
committermycroft <mycroft@NetBSD.org>2000-07-23 19:25:58 +0000
commit0e7e8472b5e5dc87eef202ab6d6e6c2dbc1e02b0 (patch)
treec890efcb9f21994dc8cdd9dca1583cc7a007b7b2 /include
parentd85f3bb159750d93b8ac4e34a80999c73bf70266 (diff)
This is a HACK so that libc can compile with -ansi.
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 8a6e19a59f8..fcbdce3c49f 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.36 2000/07/16 12:46:17 enami Exp $ */
+/* $NetBSD: stdio.h,v 1.37 2000/07/23 19:25:58 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -59,7 +59,7 @@ typedef _BSD_SIZE_T_ size_t;
* innards of an fpos_t anyway. The library internally uses off_t,
* which we assume is exactly as big as eight chars.
*/
-#if !defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__)
+#if (!defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__)) || defined(_LIBC)
typedef __off_t fpos_t;
#else
typedef struct __sfpos {