From 0b3c4997a884939e1a20d8cfa307ba20c4333025 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Mon, 23 Apr 2018 10:27:49 +0800 Subject: [PATCH] win: fix `'floor' undefined` compiler warning In VS2010 debug build, output message is `libuv\src\win\util.c(590): warning C4013: 'floor' undefined; assuming extern returning int`. PR-URL: https://github.com/libuv/libuv/pull/1814 Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig --- src/win/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/util.c b/src/win/util.c index 5d1c812d..49b5bc72 100644 --- a/src/win/util.c +++ b/src/win/util.c @@ -37,7 +37,7 @@ #include #include #include - +#include /* * Max title length; the only thing MSDN tells us about the maximum length