From ab80b4bfa717049da3d8fb21cd4560fced6f5baf Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 25 May 2021 10:48:56 +0100 Subject: X11: Do not override _POSIX_C_SOURCE if already defined --- src/x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/x11.c b/src/x11.c index d7ac4a5..bd7d808 100644 --- a/src/x11.c +++ b/src/x11.c @@ -16,7 +16,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _POSIX_C_SOURCE 199309L +#ifndef _POSIX_C_SOURCE +# define _POSIX_C_SOURCE 199309L +#endif #include "x11.h" -- cgit v1.2.1