summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/io.c b/byterun/io.c
index 2dbebb2b9..3dd20d655 100644
--- a/byterun/io.c
+++ b/byterun/io.c
@@ -253,7 +253,7 @@ CAMLexport long pos_out(struct channel *channel)
/* Input */
-static int do_read(int fd, char *p, unsigned int n)
+CAMLexport int do_read(int fd, char *p, unsigned int n)
{
int retcode;