diff options
Diffstat (limited to 'include/androidfw/BackupHelpers.h')
-rw-r--r-- | include/androidfw/BackupHelpers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/androidfw/BackupHelpers.h b/include/androidfw/BackupHelpers.h index 0841af6..fc1ad47 100644 --- a/include/androidfw/BackupHelpers.h +++ b/include/androidfw/BackupHelpers.h @@ -17,6 +17,8 @@ #ifndef _UTILS_BACKUP_HELPERS_H #define _UTILS_BACKUP_HELPERS_H +#include <sys/stat.h> + #include <utils/Errors.h> #include <utils/String8.h> #include <utils/KeyedVector.h> @@ -135,7 +137,8 @@ int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapsh char const* const* files, char const* const *keys, int fileCount); int write_tarfile(const String8& packageName, const String8& domain, - const String8& rootPath, const String8& filePath, BackupDataWriter* outputStream); + const String8& rootPath, const String8& filePath, off_t* outSize, + BackupDataWriter* outputStream); class RestoreHelperBase { |