summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-06-21 15:26:47 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-06-21 15:26:47 +0000
commit4a2bfab76e299a64173ca43af0189cf690e08c51 (patch)
tree716feb11d3327f32ec13526be6cd5bba11f94aa4
parent1a7cb557b0cee5b06be408cd3921f79d4a6e64e5 (diff)
downloadcygnal-4a2bfab76e299a64173ca43af0189cf690e08c51.tar.gz
cygnal-4a2bfab76e299a64173ca43af0189cf690e08c51.tar.bz2
cygnal-4a2bfab76e299a64173ca43af0189cf690e08c51.zip
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/errno.h: Protect from multiple inclusion.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/errno.h5
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__ */