diff options
| author | Elliott Hughes <enh@google.com> | 2015-01-29 03:23:35 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-29 03:23:35 +0000 |
| commit | 7f17aea2fc21aaf657824a023a4b7582fb74a2d9 (patch) | |
| tree | 6ca1abad535824e4c45866315896e264d9c57b52 /libc/bionic/getcwd.cpp | |
| parent | 017da8bc58ba07be92dd371020e9dc3fe26f481b (diff) | |
| parent | 05fc1d7050d5451aea08dc5f504d2670287b2d43 (diff) | |
| download | bionic-7f17aea2fc21aaf657824a023a4b7582fb74a2d9.zip bionic-7f17aea2fc21aaf657824a023a4b7582fb74a2d9.tar.gz bionic-7f17aea2fc21aaf657824a023a4b7582fb74a2d9.tar.bz2 | |
Merge "Add missing includes."
Diffstat (limited to 'libc/bionic/getcwd.cpp')
| -rw-r--r-- | libc/bionic/getcwd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/bionic/getcwd.cpp b/libc/bionic/getcwd.cpp index 47c807f..a8bbcf3 100644 --- a/libc/bionic/getcwd.cpp +++ b/libc/bionic/getcwd.cpp @@ -26,8 +26,10 @@ * SUCH DAMAGE. */ -#include <unistd.h> #include <errno.h> +#include <malloc.h> +#include <string.h> +#include <unistd.h> extern "C" int __getcwd(char* buf, size_t size); |
