Fixed some parlib newlib errno difficulties
authorAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Wed, 4 Nov 2009 06:31:13 +0000 (22:31 -0800)
committerAndrew Waterman <waterman@r53.millennium.berkeley.edu>
Wed, 4 Nov 2009 06:31:13 +0000 (22:31 -0800)
user/parlib/inc/newlib_backend.h

index 0669836..4cc8b3a 100644 (file)
@@ -5,6 +5,8 @@
 #define _NEWLIB_LIBC_WRAPPERS_H_
 
 #include <errno.h>
+#undef errno
+extern int errno;
 #include <sys/stat.h>