summaryrefslogtreecommitdiffstats
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
parentc8b1ea7d778ec69e8b98cb9dca39d2416fae1507 (diff)
downloadsystem_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.zip
system_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.tar.gz
system_core-420a7fa82d0fba6516d76d6024728de010b1cb8d.tar.bz2
Add missing #includes.
Change-Id: I81405d638f80fc96874ea0b21af3538229aa38a7
-rw-r--r--include/corkscrew/map_info.h1
-rw-r--r--include/corkscrew/ptrace.h1
-rw-r--r--include/corkscrew/symbol_table.h1
-rw-r--r--libcorkscrew/map_info.c1
-rw-r--r--libcorkscrew/ptrace.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/include/corkscrew/map_info.h b/include/corkscrew/map_info.h
index c5cd8f8..ea1d35f 100644
--- a/include/corkscrew/map_info.h
+++ b/include/corkscrew/map_info.h
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include <stdbool.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
diff --git a/include/corkscrew/ptrace.h b/include/corkscrew/ptrace.h
index 172e348..0040c22 100644
--- a/include/corkscrew/ptrace.h
+++ b/include/corkscrew/ptrace.h
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <stdbool.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
diff --git a/include/corkscrew/symbol_table.h b/include/corkscrew/symbol_table.h
index 020c8b8..4998750 100644
--- a/include/corkscrew/symbol_table.h
+++ b/include/corkscrew/symbol_table.h
@@ -17,6 +17,7 @@
#ifndef _CORKSCREW_SYMBOL_TABLE_H
#define _CORKSCREW_SYMBOL_TABLE_H
+#include <stdint.h>
#include <sys/types.h>
#ifdef __cplusplus
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>