Skip to content

Commit

Permalink
host/include/uhd/types/bye_vector.hpp: include cstdint
Browse files Browse the repository at this point in the history
Include cstdint to fix the following build failure:

In file included from /home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/lib/types/byte_vector.cpp:9:
/home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/include/uhd/types/byte_vector.hpp:19:21: error: 'uint8_t' was not declared in this scope; did you mean 'boost::uint8_t'?
   19 | typedef std::vector<uint8_t> byte_vector_t;
      |                     ^~~~~~~
      |                     boost::uint8_t

Fixes:
 - http://autobuild.buildroot.org/results/2cba1535b42e36a62b611af01088622912b277e7

Signed-off-by: Fabrice Fontaine <[email protected]>
  • Loading branch information
ffontaine committed Apr 18, 2024
1 parent c4863b9 commit 01f8f51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions host/include/uhd/types/byte_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <algorithm>
#include <string>
#include <vector>
#include <cstdint>

namespace uhd {

Expand Down

0 comments on commit 01f8f51

Please sign in to comment.