diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-03-19 14:06:50 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-03-19 14:06:50 -0700 |
commit | 14d0c6c7c0e9abd39e4b4d0a384d12de5ecbdbfc (patch) | |
tree | cefb3a66d1349372d970fb9ed4238825778820eb /libcutils | |
parent | c4edb9ec907d97175626419ff98302fd5123b943 (diff) | |
download | system_core-14d0c6c7c0e9abd39e4b4d0a384d12de5ecbdbfc.zip system_core-14d0c6c7c0e9abd39e4b4d0a384d12de5ecbdbfc.tar.gz system_core-14d0c6c7c0e9abd39e4b4d0a384d12de5ecbdbfc.tar.bz2 |
Add missing includes.
Caused warnings about implicitly defined malloc() and sprintf().
Change-Id: Ia56309adc11caf5801ffd88e374c512b785cfd93
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/process_name.c | 1 | ||||
-rw-r--r-- | libcutils/tzstrftime.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcutils/process_name.c b/libcutils/process_name.c index b235429..bda9d08 100644 --- a/libcutils/process_name.c +++ b/libcutils/process_name.c @@ -14,6 +14,7 @@ * limitations under the License. */ +#include <stdlib.h> #include <string.h> #include <cutils/process_name.h> #include <cutils/properties.h> diff --git a/libcutils/tzstrftime.c b/libcutils/tzstrftime.c index e37d79a..e4f54df 100644 --- a/libcutils/tzstrftime.c +++ b/libcutils/tzstrftime.c @@ -8,6 +8,7 @@ static char elsieid[] = "@(#)strftime.c 8.1"; #endif /* !defined NOID */ #endif /* !defined lint */ +#include <stdio.h> #include <time.h> #include <tzfile.h> #include <limits.h> |