Add a few missing headers.
Fixes build with gcc 4.3.2 on Debian.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
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;