From: Mike Frysinger Date: Thu, 6 Aug 2015 06:44:44 +0000 (-0400) Subject: fix missing ctype.h include X-Git-Tag: glibc-2.23~705 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283c873654a58fa21a65de3031f78f194192ff90;p=thirdparty%2Fglibc.git fix missing ctype.h include This file uses isspace but doesn't include ctype.h leading to: isomac.c: In function 'get_null_defines': isomac.c:305:30: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] for (end = start + 1; !isspace (*end) && *end != '\0'; ++end) --- diff --git a/ChangeLog b/ChangeLog index d37ae1a8b15..d7bcedfb32d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-08-06 Mike Frysinger + + * stdlib/isomac.c: Include ctype.h. + 2015-08-06 Arjun Shankar * dirent/tst-seekdir.c (main): Converted to ... diff --git a/stdlib/isomac.c b/stdlib/isomac.c index 816298b2105..e01fd384e32 100644 --- a/stdlib/isomac.c +++ b/stdlib/isomac.c @@ -70,6 +70,7 @@ # define _GNU_SOURCE 1 #endif +#include #include #include #include