From 5be7d888a2a2ca75ea0c9947285cb0777be6a997 Mon Sep 17 00:00:00 2001 From: liuming24 Date: Fri, 15 Nov 2024 18:58:58 +0800 Subject: [PATCH] fix test compile issue Signed-off-by: liuming24 --- test/shared_memory/SharedMemory.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/shared_memory/SharedMemory.cpp b/test/shared_memory/SharedMemory.cpp index f1f86d3f..69158bb5 100644 --- a/test/shared_memory/SharedMemory.cpp +++ b/test/shared_memory/SharedMemory.cpp @@ -1,3 +1,8 @@ +extern "C" +{ +#include +} + #include #include