summaryrefslogtreecommitdiff
path: root/lib/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fnmatch.c')
-rw-r--r--lib/fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 813e28168..aec3d1aba 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -37,7 +37,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#if defined (_LIBC) || !defined (__GNU_LIBRARY__)
-#if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS)
+#ifndef errno
extern int errno;
#endif