From f1dda09b90e3e34401c5bae315a379c875bb6d88 Mon Sep 17 00:00:00 2001 From: RealMan-Shao <96563821+RealMan-Shao@users.noreply.github.com> Date: Mon, 29 Jul 2024 19:53:22 +0800 Subject: [PATCH] Update syscalls_cpp.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: 无法识别pid_t类型错误 error: unknown type name ‘pid_t’ https://blog.csdn.net/m0_47634756/article/details/121243320 --- os/various/cpp_wrappers/syscalls_cpp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os/various/cpp_wrappers/syscalls_cpp.cpp b/os/various/cpp_wrappers/syscalls_cpp.cpp index d7d6d92a..f4bb0f70 100755 --- a/os/various/cpp_wrappers/syscalls_cpp.cpp +++ b/os/various/cpp_wrappers/syscalls_cpp.cpp @@ -1,6 +1,7 @@ #include #include - +#include +#include #include "osal.h" #include "syscalls_cpp.hpp"