From 7b476e7291593d372be384dac3ae4a2c87cb7277 Mon Sep 17 00:00:00 2001 From: cristina-suteu Date: Fri, 29 Mar 2024 13:49:21 +0200 Subject: [PATCH] osc.c: define _DARWIN_C_SOURCE this enables compiling on macOS Signed-off-by: cristina-suteu --- osc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osc.c b/osc.c index 335d27e9..45cc2fb5 100644 --- a/osc.c +++ b/osc.c @@ -4,6 +4,11 @@ * Licensed under the GPL-2. * **/ + +#ifdef __APPLE__ +#define _DARWIN_C_SOURCE +#endif + #include #include #include