aboutsummaryrefslogtreecommitdiff
path: root/stdlib/isomac.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-06 02:44:44 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-06 02:59:52 -0400
commit283c873654a58fa21a65de3031f78f194192ff90 (patch)
tree0e9d6e51e7b3db7589e6566112c07b5ec96d3ed6 /stdlib/isomac.c
parentc1f4108352e446285e99f046e3929ed13d5e9851 (diff)
downloadglibc-283c873654a58fa21a65de3031f78f194192ff90.tar
glibc-283c873654a58fa21a65de3031f78f194192ff90.tar.gz
glibc-283c873654a58fa21a65de3031f78f194192ff90.tar.bz2
glibc-283c873654a58fa21a65de3031f78f194192ff90.zip
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/isomac.c b/stdlib/isomac.c
index 816298b210..e01fd384e3 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>