diff options
author | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-10-22 02:02:30 +0400 |
---|---|---|
committer | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-10-22 02:02:30 +0400 |
commit | 8ae3ad5802c7fe78d6b353b0d9090276a4f6a210 (patch) | |
tree | 8b93a3247867caa5c11cf04ad948f253add8b3e6 /tools/atree | |
parent | b6c1cf6de79035f58b512f4400db458c8401379a (diff) | |
download | build-8ae3ad5802c7fe78d6b353b0d9090276a4f6a210.zip build-8ae3ad5802c7fe78d6b353b0d9090276a4f6a210.tar.gz build-8ae3ad5802c7fe78d6b353b0d9090276a4f6a210.tar.bz2 |
Add a few missing headers.
Fixes build with gcc 4.3.2 on Debian.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'tools/atree')
-rw-r--r-- | tools/atree/files.cpp | 2 | ||||
-rw-r--r-- | tools/atree/fs.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/atree/files.cpp b/tools/atree/files.cpp index 5842378..b363214 100644 --- a/tools/atree/files.cpp +++ b/tools/atree/files.cpp @@ -5,6 +5,8 @@ #include <unistd.h> #include <dirent.h> #include <fnmatch.h> +#include <string.h> +#include <stdlib.h> static bool is_comment_line(const char* p) diff --git a/tools/atree/fs.cpp b/tools/atree/fs.cpp index 15d6092..a233832 100644 --- a/tools/atree/fs.cpp +++ b/tools/atree/fs.cpp @@ -9,6 +9,7 @@ #include <errno.h> #include <sys/stat.h> #include <unistd.h> +#include <string.h> #include <host/CopyFile.h> using namespace std; |