lib-ucode.c: add #define _GNU_SOURCE master
authorMatthias Franck <matthias.franck@softathome.com>
Fri, 10 Jan 2025 09:26:57 +0000 (10:26 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 13:40:27 +0000 (14:40 +0100)
commit5d10084ea885b193bccd0f7da7137c1f5d766e58
treec5b787b9425af767b0baf8b57146e244a7a0d5d4
parent6d3f51f9fda706f0cf4732c762e4dbe8c21e12cf
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 <matthias.franck@softathome.com>
lib-ucode.c