From 6d10ef5e69678b0d7e3ad350e6991df95925b1f3 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 12 Jan 2022 09:44:23 +0800 Subject: [PATCH] add libuv --- source/libs/transport/src/rpcMain.c | 2 ++ source/libs/transport/src/rpcTcp.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source/libs/transport/src/rpcMain.c b/source/libs/transport/src/rpcMain.c index 802c5ae4ea..3095ddb9d2 100644 --- a/source/libs/transport/src/rpcMain.c +++ b/source/libs/transport/src/rpcMain.c @@ -13,7 +13,9 @@ * along with this program. If not, see . */ +#ifdef USE_UV #include +#endif #include "lz4.h" #include "os.h" #include "rpcCache.h" diff --git a/source/libs/transport/src/rpcTcp.c b/source/libs/transport/src/rpcTcp.c index a3e1f2434b..9fa51a6fdc 100644 --- a/source/libs/transport/src/rpcTcp.c +++ b/source/libs/transport/src/rpcTcp.c @@ -14,7 +14,9 @@ */ #include "rpcTcp.h" +#ifdef USE_UV #include +#endif #include "os.h" #include "rpcHead.h" #include "rpcLog.h" -- GitLab