From e81d600561bcd7e3b93e7f69cb15b3e597beb607 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Wed, 1 Dec 2021 21:44:36 +0100
Subject: [PATCH] MISC: Correct function prototype for poll for the W
 version...

---
 inc/lektor/internal/os.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/lektor/internal/os.h b/inc/lektor/internal/os.h
index d71239a3..301fdd86 100644
--- a/inc/lektor/internal/os.h
+++ b/inc/lektor/internal/os.h
@@ -221,7 +221,7 @@ is_error_broken_pipe(int error)
 
 #if defined(LKT_OS_WIN) && (LKT_OS_WIN == 1)
 PRIVATE_FUNCTION int
-poll(struct pollfd fds[], nfds_t nfds, int timeout)
+poll(fd_set *fds, nfds_t nfds, int timeout)
 {
     return WSAPoll(fds, nfds, timeout);
 }
-- 
GitLab