From b6b8cda4ef2e38fb80f251f92ff755d85d0f9187 Mon Sep 17 00:00:00 2001 From: Zack Radisic <56137411+zackradisic@users.noreply.github.com> Date: Thu, 3 Apr 2025 17:38:41 -0700 Subject: [PATCH] make that work --- src/bun.js/bindings/uv-posix-polyfills.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bun.js/bindings/uv-posix-polyfills.c b/src/bun.js/bindings/uv-posix-polyfills.c index aac416b803..8b64b8711f 100644 --- a/src/bun.js/bindings/uv-posix-polyfills.c +++ b/src/bun.js/bindings/uv-posix-polyfills.c @@ -5,6 +5,9 @@ #include #include #include +#if defined(__GNUC__) && !defined(_GNU_SOURCE) +#define _GNU_SOURCE +#endif #include // libuv does the annoying thing of #undef'ing these