Control: tags -1 patch

On Wed, Jun 14, 2023 at 09:21:27AM +0000, Matthias Klose wrote:
>...
> 4 errors generated.
> In file included from generateVts.cpp:17:
> In file included from ./AST.h:22:
> hashing/include/hidl-hash/Hash.h:25:30: error: use of undeclared identifier 
> 'uint8_t'
>     static const std::vector<uint8_t> kEmptyHash;
>                              ^
> hashing/include/hidl-hash/Hash.h:38:52: error: use of undeclared identifier 
> 'uint8_t'
>     static std::string hexString(const std::vector<uint8_t>& hash);
>                                                    ^
> hashing/include/hidl-hash/Hash.h:41:23: error: use of undeclared identifier 
> 'uint8_t'
>     const std::vector<uint8_t>& raw() const;
>                       ^
> hashing/include/hidl-hash/Hash.h:50:17: error: use of undeclared identifier 
> 'uint8_t'
>     std::vector<uint8_t> mHash;
>                 ^
> 4 errors generated.
>...
A fix is attached.

cu
Adrian
Description: Fix the build with gcc 13
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/1037574

--- android-platform-system-tools-hidl-10.0.0+r36.orig/hashing/include/hidl-hash/Hash.h
+++ android-platform-system-tools-hidl-10.0.0+r36/hashing/include/hidl-hash/Hash.h
@@ -16,6 +16,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <string>
 #include <vector>
 

Reply via email to