From: Jim Meyering Date: Fri, 27 Jan 1995 17:16:19 +0000 (+0000) Subject: Declare errno if it's not defined. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d0937c1a5290e9c180b42f532191aafd70ceb4;p=pspp 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