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"