From 4724e742afbf89c439cf27c1cf9283a50cdb9cae Mon Sep 17 00:00:00 2001 From: Bo He Date: Tue, 7 Jan 2025 09:25:23 +0800 Subject: [PATCH] explicit add the cstdint header for clang compile fix the build errors with the clang15 and onward: clang++ sendKey.cpp -I . -lpthread -Wall -Wpedantic -Wextra -o sendkey sendKey.cpp:64:29: error: unknown type name 'uint32_t' 64 | buf.bCtrl = static_cast(ctrl); | ^ Signed-off-by: Bo He Tracked-On: OAM-129122 --- sendKey.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sendKey.cpp b/sendKey.cpp index 057cc5a..dc1a314 100644 --- a/sendKey.cpp +++ b/sendKey.cpp @@ -17,6 +17,7 @@ #include #include +#include #include "sendKey.h"