diff options
Diffstat (limited to 'pico/osdep/filesys.c')
-rw-r--r-- | pico/osdep/filesys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pico/osdep/filesys.c b/pico/osdep/filesys.c index 75cb91ff..05be5fae 100644 --- a/pico/osdep/filesys.c +++ b/pico/osdep/filesys.c @@ -783,7 +783,9 @@ copy(char *a, char *b) char *cb; struct stat tsb, fsb; EML eml; +#ifndef errno extern int errno; +#endif if(our_stat(a, &fsb) < 0){ /* get source file info */ eml.s = errstr(errno); |