diff options
author | Adrian Taylor <adrian@macrobug.com> | 2009-10-29 10:55:27 +0000 |
---|---|---|
committer | Adrian Taylor <adrian@macrobug.com> | 2009-10-29 10:55:27 +0000 |
commit | b34894d4c08f026d5f58c66df3a5ac3c7ecb06a0 (patch) | |
tree | b23c5bca10e54f85f621be5d8590c955245d1ae7 | |
parent | d3aa4000e42fd1036e0e3286843c5132f905d754 (diff) | |
download | build-release-1.0.tar.gz |
Fixes to allow release-1.0 to build under Ubuntu 9.04.release-1.0
This commit contains fixes to allow the release-1.0 branch to build under Ubuntu 9.04 x86-64.
I have not tested the build on other platforms. It's quite possible that this breaks the build on other platforms. It therefore seems a bad idea to approve this change at code-review time unless you can convince yourself the other platforms will be fine.
But even if it doesn't get approved, it is still worth uploading for the benefit of others who wish to get release-1.0 to build under Ubuntu 9.04.
This is the first of three commits in different packages.
-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 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..e49adbbe98 100644 --- a/tools/atree/fs.cpp +++ b/tools/atree/fs.cpp @@ -7,6 +7,7 @@ #include <vector> #include <stdio.h> #include <errno.h> +#include <string.h> #include <sys/stat.h> #include <unistd.h> #include <host/CopyFile.h> |