Skip to content

Commit 6b352b0

Browse files
keith-packardnashif
authored andcommitted
samples/tflite-micro: Include <cstdint> before using uint8_t
inference_process.hpp depended on the C library implicitly including stdint.h through some path, which is not defined behavior. Explicitly include <cstdint> to ensure that uint8_t is defined. Signed-off-by: Keith Packard <[email protected]>
1 parent 8882096 commit 6b352b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/modules/tflite-micro/tflm_ethosu/src/inference_process.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <stdlib.h>
1212
#include <string>
1313
#include <vector>
14+
#include <cstdint>
1415

1516
namespace InferenceProcess
1617
{

0 commit comments

Comments
 (0)