diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-06 02:44:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-06 02:59:52 -0400 |
commit | 283c873654a58fa21a65de3031f78f194192ff90 (patch) | |
tree | 0e9d6e51e7b3db7589e6566112c07b5ec96d3ed6 /stdlib/isomac.c | |
parent | c1f4108352e446285e99f046e3929ed13d5e9851 (diff) | |
download | glibc-283c873654a58fa21a65de3031f78f194192ff90.zip glibc-283c873654a58fa21a65de3031f78f194192ff90.tar.gz glibc-283c873654a58fa21a65de3031f78f194192ff90.tar.bz2 |
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)
Diffstat (limited to 'stdlib/isomac.c')
-rw-r--r-- | stdlib/isomac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/isomac.c b/stdlib/isomac.c index 816298b..e01fd38 100644 --- a/stdlib/isomac.c +++ b/stdlib/isomac.c @@ -70,6 +70,7 @@ # define _GNU_SOURCE 1 #endif +#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |