From 20fd9e23096e864cdac600fa742992ecdccb2a0c Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Fri, 10 Jan 2020 20:36:00 +0000 Subject: [PATCH] fix '_lseeki64' undefined compiler warning Fixes the following compiler warning on Windows: `'_lseeki64' undefined; assuming extern returning int` --- src/uvwasi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uvwasi.c b/src/uvwasi.c index 28c6dcc..1f80fb8 100644 --- a/src/uvwasi.c +++ b/src/uvwasi.c @@ -11,6 +11,7 @@ # define SLASH_STR "/" # define IS_SLASH(c) ((c) == '/') #else +# include # define SLASH '\\' # define SLASH_STR "\\" # define IS_SLASH(c) ((c) == '/' || (c) == '\\')