From b34894d4c08f026d5f58c66df3a5ac3c7ecb06a0 Mon Sep 17 00:00:00 2001 From: Adrian Taylor Date: Thu, 29 Oct 2009 10:55:27 +0000 Subject: Fixes to allow release-1.0 to build under Ubuntu 9.04. 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. --- tools/atree/files.cpp | 2 ++ tools/atree/fs.cpp | 1 + 2 files changed, 3 insertions(+) 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 #include #include +#include +#include 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 #include #include +#include #include #include #include -- cgit v1.2.3