]> granicus.if.org Git - procps-ng/commitdiff
proc: pull in ctype.h where needed
authorMike Frysinger <vapier@gentoo.org>
Tue, 24 Jan 2012 05:41:39 +0000 (00:41 -0500)
committerSami Kerola <kerolasa@iki.fi>
Tue, 24 Jan 2012 07:55:05 +0000 (08:55 +0100)
Fix the build warnings:

sig.c:227:5: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
sig.c:231:3: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
proc/sig.c

index b83e6458b5b3edca313c7c7a4b6ec91722875712..b427e01e8435a47c0081415f388970a4e63e5224 100644 (file)
@@ -8,6 +8,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU Library General Public License for more details.
  */
+#include <ctype.h>
 #include <signal.h>
 #include <string.h>
 #include <stdio.h>