summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/atree/files.cpp2
-rw-r--r--tools/atree/fs.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/atree/files.cpp b/tools/atree/files.cpp
index 58423789ce..b363214e9a 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 15d6092155..a233832c96 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;