From a7ed7a979e15c5bad2515d91db57b034b4d26bef Mon Sep 17 00:00:00 2001 From: M374LX Date: Sat, 2 Dec 2023 19:22:17 -0300 Subject: [PATCH] Check if _GNU_SOURCE is already defined --- src/posix_poll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posix_poll.c b/src/posix_poll.c index a5016a1304..0628cd0c86 100644 --- a/src/posix_poll.c +++ b/src/posix_poll.c @@ -26,7 +26,9 @@ // It is fine to use C99 in this file because it will not be built with VS //======================================================================== +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "internal.h"