summaryrefslogtreecommitdiffstats
path: root/libcorkscrew
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-17 18:28:01 -0700
committerElliott Hughes <enh@google.com>2012-05-17 18:28:01 -0700
commit420a7fa82d0fba6516d76d6024728de010b1cb8d (patch)
tree68ec147c7bafa8c8f9598b640c20c5d849164412 /libcorkscrew
parentc8b1ea7d778ec69e8b98cb9dca39d2416fae1507 (diff)
downloadsystem_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.zip
system_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.tar.gz
system_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.tar.bz2
Add missing #includes.
Change-Id: I81405d638f80fc96874ea0b21af3538229aa38a7
Diffstat (limited to 'libcorkscrew')
-rw-r--r--libcorkscrew/map_info.c1
-rw-r--r--libcorkscrew/ptrace.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcorkscrew/map_info.c b/libcorkscrew/map_info.c
index f33378f..3c52854 100644
--- a/libcorkscrew/map_info.c
+++ b/libcorkscrew/map_info.c
@@ -21,6 +21,7 @@
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <pthread.h>
diff --git a/libcorkscrew/ptrace.c b/libcorkscrew/ptrace.c
index cbea8ca..6496d5e 100644
--- a/libcorkscrew/ptrace.c
+++ b/libcorkscrew/ptrace.c
@@ -21,6 +21,7 @@
#include <corkscrew/ptrace.h>
#include <errno.h>
+#include <stdlib.h>
#include <sys/ptrace.h>
#include <cutils/log.h>