Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80fa5ce8 authored by Yuchao Zhou's avatar Yuchao Zhou Committed by android-build-merger
Browse files

Merge "More Mac build fixes." am: 55d31ecd

am: 9cf0730f

Change-Id: Ia751ae61a2eb3939afab24bad4ce29d6f66d3472
parents 030f1382 9cf0730f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -852,7 +852,7 @@ static bool load_buf_fd(int fd, struct fastboot_buffer* buf) {
        buf->image_size = sz;
    }

    lseek64(fd, 0, SEEK_SET);
    lseek(fd, 0, SEEK_SET);
    int64_t limit = get_sparse_limit(sz);
    if (limit) {
        sparse_file** s = load_sparse_files(fd, limit);
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ cc_library {
        enabled: true,
    },
    double_loadable: true,
    export_shared_lib_headers: ["libbase"],

    defaults: [
        "libziparchive_defaults",
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@
#include <sys/cdefs.h>
#include <sys/types.h>

#include "android-base/off64_t.h"

/* Zip compression methods we support */
enum {
  kCompressStored = 0,    // no compression
+4 −5
Original line number Diff line number Diff line
@@ -15,12 +15,13 @@
 */

// Read-only stream access to Zip archives entries.
#ifndef LIBZIPARCHIVE_ZIPARCHIVESTREAMENTRY_H_
#define LIBZIPARCHIVE_ZIPARCHIVESTREAMENTRY_H_
#pragma once

#include <ziparchive/zip_archive.h>

#include <vector>

#include <ziparchive/zip_archive.h>
#include "android-base/off64_t.h"

class ZipArchiveStreamEntry {
 public:
@@ -43,5 +44,3 @@ class ZipArchiveStreamEntry {
  off64_t offset_ = 0;
  uint32_t crc32_ = 0u;
};

#endif  // LIBZIPARCHIVE_ZIPARCHIVESTREAMENTRY_H_
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#include <vector>

#include "android-base/macros.h"
#include "android-base/off64_t.h"

struct z_stream_s;
typedef struct z_stream_s z_stream;