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)
This commit is contained in:
Mike Frysinger 2015-08-06 02:44:44 -04:00
parent c1f4108352
commit 283c873654
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-08-06 Mike Frysinger <vapier@gentoo.org>
* stdlib/isomac.c: Include ctype.h.
2015-08-06 Arjun Shankar <arjun.is@lostca.se> 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
* dirent/tst-seekdir.c (main): Converted to ... * dirent/tst-seekdir.c (main): Converted to ...

View File

@ -70,6 +70,7 @@
# define _GNU_SOURCE 1 # define _GNU_SOURCE 1
#endif #endif
#include <ctype.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>