summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.c b/io.c
index 6f14290a05..41a5ac91da 100644
--- a/io.c
+++ b/io.c
@@ -587,6 +587,9 @@ io_fread(ptr, len, f)
#if defined(EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
case EWOULDBLOCK:
#endif
+#ifdef __BORLANDC__
+ case EPIPE:
+#endif
return len - n;
}
return 0;