From 35a65361ffb937188aebfda5e00c39c108ce9797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Fri, 4 Mar 2022 13:37:38 +0100 Subject: [PATCH] POSIX: Fix undeclared function warning on Cygwin (cherry picked from commit adc202d2c3182ca6ad8344624941e56d8e0bc493) --- src/x11_window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index a86a8ff1..bf923fe6 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -27,9 +27,7 @@ // It is fine to use C99 in this file because it will not be built with VS //======================================================================== -#if defined(__linux__) - #define _GNU_SOURCE -#endif +#define _GNU_SOURCE #include "internal.h"