summaryrefslogtreecommitdiff
path: root/lib/fnmatch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-01-27 17:16:19 +0000
committerJim Meyering <jim@meyering.net>1995-01-27 17:16:19 +0000
commit0fd3803567aa4893f4e13390b195e2e61f7752e4 (patch)
treeace716af0336564a8da57ff49d7e4533415cd9ee /lib/fnmatch.c
parentb284f343cba76dfda75136cd624854d8b6f11b9e (diff)
downloadcoreutils-0fd3803567aa4893f4e13390b195e2e61f7752e4.tar.xz
Declare errno if it's not defined.
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