From 5d10084ea885b193bccd0f7da7137c1f5d766e58 Mon Sep 17 00:00:00 2001 From: Matthias Franck Date: Fri, 10 Jan 2025 10:26:57 +0100 Subject: [PATCH] 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 --- lib-ucode.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2