From 0fd3803567aa4893f4e13390b195e2e61f7752e4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Jan 1995 17:16:19 +0000 Subject: Declare errno if it's not defined. --- lib/fnmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2