summaryrefslogtreecommitdiff
path: root/gl/fseeko.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/fseeko.c')
-rw-r--r--gl/fseeko.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gl/fseeko.c b/gl/fseeko.c
index eae1b72683..08e1f710b1 100644
--- a/gl/fseeko.c
+++ b/gl/fseeko.c
@@ -89,6 +89,9 @@ fseeko (FILE *fp, off_t offset, int whence)
&& fp->__get_limit == fp->__bufp
&& fp->__put_limit == fp->__bufp
&& !fp->__pushed_back)
+#elif defined EPLAN9 /* Plan9 */
+ if (fp->rp == fp->buf
+ && fp->wp == fp->buf)
#else
#error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib."
#endif