summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-21 04:32:29 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-21 04:32:29 +0000
commita11bddb160e049e87f258a7565a627bf7805bfa4 (patch)
tree7600b7ebb59785ed22faef8a8d90bec0564f5a6f /include
parent44672a28badb241c1d320bc2baed7c4c99f4780e (diff)
downloaduClibc-alpine-a11bddb160e049e87f258a7565a627bf7805bfa4.tar.bz2
uClibc-alpine-a11bddb160e049e87f258a7565a627bf7805bfa4.tar.xz
Sync with trunk.
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 */