commit | 5c8247f7307f1543127b7d12d5da122b85bc3d87 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Dec 22 22:01:11 2010 +0100 |
committer | Martin Storsjo <martin@martin.st> | Wed Jun 22 21:54:06 2011 +0300 |
tree | b819e987fdf123cc0550f6cb8911f123da29e43e | |
parent | bf5adfa5e558827fbb4771720433887bb3cbaefd [diff] |
stagefright: Include stdlib.h for malloc/free According to ANSI C, malloc/free are provided by stdlib.h. Also, string.h is always available according to ANSI C, and provides the memset function, so there's no need to include it conditionally for linux only. This makes the code buildable on OS X, too. Change-Id: Ie5d1da02158797e7e45dea257cbe3e4996dde4db