From: Michael Vrable Date: Mon, 30 Jun 2008 20:28:12 +0000 (-0700) Subject: Add some missing #include statements. X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=commitdiff_plain;h=915e73b3fa1f245541611f26268cdd574798e1e2 Add some missing #include statements. Some standard include files (stdlib.h and string.h) were not being included where necessary. This worked in the past, but seems to break for some versions of the compiler/standard library, so be sure to include what we need. --- diff --git a/metadata.cc b/metadata.cc index d946386..8de1a00 100644 --- a/metadata.cc +++ b/metadata.cc @@ -24,6 +24,8 @@ * handling of the statcache, and re-use of metadata between snapshots. */ +#include +#include #include #include #include diff --git a/ref.cc b/ref.cc index 2f870a6..bed4daf 100644 --- a/ref.cc +++ b/ref.cc @@ -25,6 +25,8 @@ #include #include +#include +#include #include #include diff --git a/scandir.cc b/scandir.cc index 01c4a7d..e82a918 100644 --- a/scandir.cc +++ b/scandir.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/store.cc b/store.cc index 720d3bb..9e7fc99 100644 --- a/store.cc +++ b/store.cc @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/subfile.cc b/subfile.cc index 4e13005..dac7eda 100644 --- a/subfile.cc +++ b/subfile.cc @@ -23,6 +23,7 @@ * referenced from the new metadata log. */ #include +#include #include #include diff --git a/util.cc b/util.cc index 22aab3b..b595eea 100644 --- a/util.cc +++ b/util.cc @@ -22,6 +22,7 @@ * later, for parsing them back, perhaps). */ #include +#include #include #include