From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 24 Jan 2012 05:41:39 +0000 (-0500)
Subject: proc: pull in ctype.h where needed
X-Git-Tag: v3.3.3~109^2~1
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b449855c7332d16024ef11deec81937880545a5;p=procps-ng

proc: pull in ctype.h where needed

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>
---

diff --git a/proc/sig.c b/proc/sig.c
index b83e6458..b427e01e 100644
--- a/proc/sig.c
+++ b/proc/sig.c
@@ -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>