From 7058b3fc160662902c26401c118912a7a32554e2 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Date: Tue, 20 Sep 2005 21:16:25 +0000
Subject: Fix bug 370.

---
 include/errno.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'include')

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 */
-- 
cgit v1.2.3