From: Matthias Franck Date: Fri, 10 Jan 2025 09:26:57 +0000 (+0100) Subject: lib-ucode.c: add #define _GNU_SOURCE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d10084ea885b193bccd0f7da7137c1f5d766e58;p=project%2Fudebug.git lib-ucode.c: add #define _GNU_SOURCE When compiling with glibc, an error is thrown stating that vasprintf is not defined. In order to use vasprintf from glibc, the #define _GNU_SOURCE is needed. Signed-off-by: Matthias Franck --- diff --git a/lib-ucode.c b/lib-ucode.c index c2ce3b2..f905645 100644 --- a/lib-ucode.c +++ b/lib-ucode.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include #include #include