aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 039e0e4..6ef07a3 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -93,7 +93,7 @@ extern int fputs_unlocked PARAMS ((const char *, FILE *));
#include <errno.h>
-#ifndef errno
+#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO
extern int errno;
#endif