summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-09-20 21:16:25 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-09-20 21:16:25 +0000
commit7058b3fc160662902c26401c118912a7a32554e2 (patch)
treeaaa629e0f0b545271193151215bab16a4d06c6f8 /include
parent50adcf84a2bd24ad9aa3fa87e368007d02a5102d (diff)
Fix bug 370.
Diffstat (limited to 'include')
-rw-r--r--include/errno.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 390e51521..203a62e3e 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -43,8 +43,10 @@ __BEGIN_DECLS
variable. This redeclaration using the macro still works, but it
will be a function declaration without a prototype and may trigger
a -Wstrict-prototypes warning. */
-#ifndef errno
+#ifndef __ASSEMBLER__
+# ifndef errno
extern int errno;
+# endif
#endif
#if 0 /*def __USE_GNU uClibc note: not supported */