From f007da643ba00a4596b8899b7c252b7175833fa1 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sat, 7 Dec 2024 20:33:05 +0800 Subject: [PATCH] basic_types.h: pull in cstdint only with C++ --- src/lib/common/basic_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/common/basic_types.h b/src/lib/common/basic_types.h index 1882e57e..33623c94 100644 --- a/src/lib/common/basic_types.h +++ b/src/lib/common/basic_types.h @@ -18,7 +18,9 @@ #pragma once +#ifdef __cpluplus #include +#endif // // make typedefs