From: Jim Meyering Date: Fri, 27 Jan 1995 17:16:19 +0000 (+0000) Subject: Declare errno if it's not defined. X-Git-Tag: textutils-1_12_1~324 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fd3803567aa4893f4e13390b195e2e61f7752e4;p=thirdparty%2Fcoreutils.git Declare errno if it's not defined. --- diff --git a/lib/fnmatch.c b/lib/fnmatch.c index 813e281685..aec3d1aba0 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