Define _GNU_SOURCE

This commit is contained in:
Frank Denis 2021-10-09 15:54:09 +02:00
parent 503f722ac3
commit 614fd57665

View file

@ -13,5 +13,6 @@ pub fn build(b: *std.build.Builder) !void {
minisign.addIncludeDir("src");
minisign.addSystemIncludeDir("/usr/local/include");
minisign.defineCMacro("_GNU_SOURCE", "1");
minisign.addCSourceFiles(&.{ "src/base64.c", "src/get_line.c", "src/helpers.c", "src/minisign.c" }, &.{});
}