aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-20 19:25:56 -0500
committerMike Frysinger <vapier@gentoo.org>2011-11-20 19:46:38 -0500
commit243cd05e7ac857f64648639e970a8c0d28dc0f2e (patch)
tree78ccbe5547ff8099a189e0c066d2a906594bd57f
parentclean up const/unsigned pointers with aftype/hwtype structs (diff)
downloadnet-tools-243cd05e7ac857f64648639e970a8c0d28dc0f2e.tar.gz
net-tools-243cd05e7ac857f64648639e970a8c0d28dc0f2e.tar.bz2
net-tools-243cd05e7ac857f64648639e970a8c0d28dc0f2e.zip
pull in stdlib.h for malloc() prototype
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--lib/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/proc.c b/lib/proc.c
index 9cd4eeb..5c709ed 100644
--- a/lib/proc.c
+++ b/lib/proc.c
@@ -5,6 +5,7 @@
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>