diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/errno.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e4df3ce73..0af3c5772 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-06-21 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/errno.h: Protect from multiple inclusion. + 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com> * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value. diff --git a/newlib/libc/include/errno.h b/newlib/libc/include/errno.h index 8584a639b..81eaef710 100644 --- a/newlib/libc/include/errno.h +++ b/newlib/libc/include/errno.h @@ -1,3 +1,8 @@ +#ifndef __ERRNO_H__ +#define __ERRNO_H__ + typedef int error_t; #include <sys/errno.h> + +#endif /* !__ERRNO_H__ */ |