summaryrefslogtreecommitdiff
path: root/pico/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'pico/fileio.c')
-rw-r--r--pico/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pico/fileio.c b/pico/fileio.c
index 2847a2d9..236be932 100644
--- a/pico/fileio.c
+++ b/pico/fileio.c
@@ -24,8 +24,10 @@
#if defined(bsd) || defined(lnx)
+#ifndef errno
extern int errno;
#endif
+#endif